projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This fixes lash so it handles environment variable expansion, regardless
[oweals/busybox.git]
/
poweroff.c
diff --git
a/poweroff.c
b/poweroff.c
index 3101a20dc06861b92e0732b77d447b193da3ca24..007099d4d298e12696421fcb838b61a3cf99aa2f 100644
(file)
--- a/
poweroff.c
+++ b/
poweroff.c
@@
-28,7
+28,7
@@
extern int poweroff_main(int argc, char **argv)
{
#ifdef BB_FEATURE_LINUXRC
/* don't assume init's pid == 1 */
- return(kill(*(find
PidByN
ame("init")), SIGUSR2));
+ return(kill(*(find
_pid_by_n
ame("init")), SIGUSR2));
#else
return(kill(1, SIGUSR2));
#endif