aboutsummaryrefslogtreecommitdiff
path: root/init/poweroff.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/poweroff.c')
-rw-r--r--init/poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/poweroff.c b/init/poweroff.c
index 27468bac0..aca6e2f25 100644
--- a/init/poweroff.c
+++ b/init/poweroff.c
@@ -32,7 +32,7 @@ extern int poweroff_main(int argc, char **argv)
32 if (!pid || *pid<=0) { 32 if (!pid || *pid<=0) {
33 pid = find_pid_by_name("linuxrc"); 33 pid = find_pid_by_name("linuxrc");
34 if (!pid || *pid<=0) 34 if (!pid || *pid<=0)
35 error_msg_and_die("no process killed"); 35 bb_error_msg_and_die("no process killed");
36 } 36 }
37 return(kill(*pid, SIGUSR2)); 37 return(kill(*pid, SIGUSR2));
38#else 38#else