diff options
Diffstat (limited to 'halt.c')
-rw-r--r-- | halt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ extern int halt_main(int argc, char **argv) /* don't assume init's pid == 1 */ pid_t *pid = find_pid_by_name("init"); if (!pid || *pid<=0) { - pid_t *pid = find_pid_by_name("linuxrc"); + pid = find_pid_by_name("linuxrc"); if (!pid || *pid<=0) error_msg_and_die("no process killed"); } |