commit | 5ac8b917ded904500f44c8c02b277a34eb9c14c7 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sat Feb 07 17:07:00 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Feb 07 17:07:01 2015 +0000 |
tree | ca69b0ad2615b6c790a17178104f57c938f2f26c | |
parent | c9c401e64ba00e8fa295cae30b2b0035fae1183a [diff] | |
parent | 7e952f41f163f76d73768f676d0e8a9fc1d3eb7b [diff] |
Merge "Bump do_write buffer size"
diff --git a/init/builtins.cpp b/init/builtins.cpp index 31c6a99..42cfa43 100644 --- a/init/builtins.cpp +++ b/init/builtins.cpp
@@ -717,7 +717,7 @@ const char *path = args[1]; const char *value = args[2]; - char expanded_value[PROP_VALUE_MAX]; + char expanded_value[256]; if (expand_props(expanded_value, value, sizeof(expanded_value))) { ERROR("cannot expand '%s' while writing to '%s'\n", value, path); return -EINVAL;