commit | 84bf9af758c84da7d9ff2929bce06bf2b2f239b8 | [log] [tgz] |
---|---|---|
author | Dima Zavin <dima@android.com> | Tue Dec 20 13:44:41 2011 -0800 |
committer | Jean-Baptiste Queru <jbq@google.com> | Wed Jan 11 04:36:09 2012 -0800 |
tree | af0d40206b681c63c32d565ec0ad23eee3fa00a1 | |
parent | 78a1b1fe1ab76964e35b4a4788238b197bfd613d [diff] [blame] |
init: use init's property expansion code for setprop/write Change-Id: I3c284860cc8d5106ac2b086e62baeb6263873935 Signed-off-by: Dima Zavin <dima@android.com>
diff --git a/init/init_parser.c b/init/init_parser.c index 311aaea..d255db9 100644 --- a/init/init_parser.c +++ b/init/init_parser.c
@@ -176,7 +176,7 @@ return 0; } -static int expand_props(char *dst, const char *src, int dst_size) +int expand_props(char *dst, const char *src, int dst_size) { int cnt = 0; char *dst_ptr = dst;