commit | 0ab46c9e2b5e664ee9c6dee024c2020114317421 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Feb 03 11:20:49 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Feb 03 11:31:11 2015 -0800 |
tree | 906dd8e03f8a126aa72d3fabda624f179ff10566 | |
parent | 6a728fde77d1367318c79e5b182f0cb316872a37 [diff] |
Init: Fix literal This is a literal 0 implicitly converted to a NULL. Change-Id: I0573e85eb0578f938877c4bec79054081c27e661
diff --git a/init/init.c b/init/init.c index 096d898..8bb6da0 100644 --- a/init/init.c +++ b/init/init.c
@@ -349,7 +349,7 @@ if (arg_idx == INIT_PARSER_MAXARGS) break; } - arg_ptrs[arg_idx] = '\0'; + arg_ptrs[arg_idx] = NULL; execve(svc->args[0], (char**) arg_ptrs, (char**) ENV); } _exit(127);