commit | f2bd3fdd190fc1234913febfe254f8bcc4e675da | [log] [tgz] |
---|---|---|
author | Leo Wang <leozwang@google.com> | Fri Jan 09 01:17:51 2015 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Jan 09 01:17:51 2015 +0000 |
tree | f691707560a99b0967a1b333b8248386d418d56a | |
parent | ba95be58c596aa7b5034b1bce8f3fde97ae08780 [diff] | |
parent | 703b87de5b84e24ea119556dcc3683cb4ce941cf [diff] |
Merge "Provide a way to select force encryption from vendor partition" into lmp-mr1-dev
diff --git a/init/util.c b/init/util.c index 0f69e1c..e1a3ee3 100644 --- a/init/util.c +++ b/init/util.c
@@ -329,9 +329,9 @@ if (!s) return; - for (; *s; s++) { + while (*s) { s += strspn(s, accept); - if (*s) *s = '_'; + if (*s) *s++ = '_'; } }