From 246cc6dddd3df2164e8a925ebd8e9a7bba379253 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Tue, 7 Mar 2000 07:41:42 +0000 Subject: Wrote killall. Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik --- reboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reboot.c') diff --git a/reboot.c b/reboot.c index f782fa1e6..fc01ea004 100644 --- a/reboot.c +++ b/reboot.c @@ -27,7 +27,7 @@ extern int reboot_main(int argc, char **argv) { /* don't assume init's pid == 1 */ - exit(kill(findInitPid(), SIGINT)); + exit(kill(findPidByName("init"), SIGINT)); } /* -- cgit v1.2.3