commit | ebe2cb312d36788fa9956ef6829c6aada495606f | [log] [tgz] |
---|---|---|
author | Dima Zavin <dima@android.com> | Tue Dec 20 13:44:41 2011 -0800 |
committer | Dima Zavin <dima@android.com> | Thu Jan 05 15:02:28 2012 -0800 |
tree | 416ba8964a1071bebf66e9d10bc4134dd78dd39a | |
parent | 304f12270dc0be564eb1b64624770aa72f25e59e [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;