diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 2 | ||||
-rw-r--r-- | init/init.c | 2 | ||||
-rw-r--r-- | init/poweroff.c | 2 | ||||
-rw-r--r-- | init/reboot.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/init/halt.c b/init/halt.c index c3e2523c0..e875d04f0 100644 --- a/init/halt.c +++ b/init/halt.c @@ -28,7 +28,7 @@ extern int halt_main(int argc, char **argv) { #ifdef BB_FEATURE_LINUXRC /* don't assume init's pid == 1 */ - return(kill(*(findPidByName("init")), SIGUSR1)); + return(kill(*(find_pid_by_name("init")), SIGUSR1)); #else return(kill(1, SIGUSR1)); #endif diff --git a/init/init.c b/init/init.c index c4440894c..e5b1a3931 100644 --- a/init/init.c +++ b/init/init.c @@ -296,7 +296,7 @@ static int check_free_memory() unsigned int result, u, s=10; if (sysinfo(&info) != 0) { - perrorMsg("Error checking free memory: "); + perror_msg("Error checking free memory: "); return -1; } diff --git a/init/poweroff.c b/init/poweroff.c index 3101a20dc..007099d4d 100644 --- a/init/poweroff.c +++ b/init/poweroff.c @@ -28,7 +28,7 @@ extern int poweroff_main(int argc, char **argv) { #ifdef BB_FEATURE_LINUXRC /* don't assume init's pid == 1 */ - return(kill(*(findPidByName("init")), SIGUSR2)); + return(kill(*(find_pid_by_name("init")), SIGUSR2)); #else return(kill(1, SIGUSR2)); #endif diff --git a/init/reboot.c b/init/reboot.c index 354286d47..3e5f2382c 100644 --- a/init/reboot.c +++ b/init/reboot.c @@ -28,7 +28,7 @@ extern int reboot_main(int argc, char **argv) { #ifdef BB_FEATURE_LINUXRC /* don't assume init's pid == 1 */ - return(kill(*(findPidByName("init")), SIGINT)); + return(kill(*(find_pid_by_name("init")), SIGINT)); #else return(kill(1, SIGINT)); #endif |