From f57c944e09417edcbcd69f2b01b937cadef39db2 Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Thu, 7 Dec 2000 19:56:48 +0000 Subject: Changed names of functions in utility.c and all affected files, to make compliant with the style guide. Everybody rebuild your tags file! --- init/halt.c | 2 +- init/init.c | 2 +- init/poweroff.c | 2 +- init/reboot.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'init') 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 -- cgit v1.2.3