aboutsummaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-07 07:41:42 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-03-07 07:41:42 +0000
commit7eec702b2195f2572be33045b63022ee0555fcec (patch)
tree0b9f317c6b6fdebad4f90fbfde5565e195076ea4 /init/halt.c
parent915133b8e0f8838a046ed77fa65265473c0d8d76 (diff)
downloadbusybox-w32-7eec702b2195f2572be33045b63022ee0555fcec.tar.gz
busybox-w32-7eec702b2195f2572be33045b63022ee0555fcec.tar.bz2
busybox-w32-7eec702b2195f2572be33045b63022ee0555fcec.zip
Wrote killall.
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@393 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c
index d61c38760..f2c9828d4 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -27,5 +27,5 @@
27extern int halt_main(int argc, char **argv) 27extern int halt_main(int argc, char **argv)
28{ 28{
29 /* don't assume init's pid == 1 */ 29 /* don't assume init's pid == 1 */
30 exit(kill(findInitPid(), SIGUSR1)); 30 exit(kill(findPidByName("init"), SIGUSR1));
31} 31}