projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup patch from Vladimir N. Oleynik.
[oweals/busybox.git]
/
reboot.c
diff --git
a/reboot.c
b/reboot.c
index 354286d4764e086672715a8efa5c93eeb9bce3d7..3e5f2382c1cf363e1205e5452f4fa08598c21486 100644
(file)
--- a/
reboot.c
+++ b/
reboot.c
@@
-28,7
+28,7
@@
extern int reboot_main(int argc, char **argv)
{
#ifdef BB_FEATURE_LINUXRC
/* don't assume init's pid == 1 */
- return(kill(*(find
PidByN
ame("init")), SIGINT));
+ return(kill(*(find
_pid_by_n
ame("init")), SIGINT));
#else
return(kill(1, SIGINT));
#endif