projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git]
/
init.c
diff --git
a/init.c
b/init.c
index 79f14ab33f4d316a9d53c26b108777ad41aefdda..f38d154b7657f843fa5b4ab538b40e916e898d8a 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-891,7
+891,7
@@
extern int init_main(int argc, char **argv)
/* Expect to be invoked as init with PID=1 or be invoked as linuxrc */
if (getpid() != 1
#ifdef BB_FEATURE_LINUXRC
- && strstr(a
rgv[0]
, "linuxrc") == NULL
+ && strstr(a
pplet_name
, "linuxrc") == NULL
#endif
)
{