summaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
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 d61c387..f2c9828 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -27,5 +27,5 @@
extern int halt_main(int argc, char **argv)
{
/* don't assume init's pid == 1 */
- exit(kill(findInitPid(), SIGUSR1));
+ exit(kill(findPidByName("init"), SIGUSR1));
}