diff options
author | Mark Whitley | 2000-12-07 19:56:48 +0000 |
---|---|---|
committer | Mark Whitley | 2000-12-07 19:56:48 +0000 |
commit | f57c944e09417edcbcd69f2b01b937cadef39db2 (patch) | |
tree | a55822621d54bd82c54e272fa986e45698fea0f1 /init | |
parent | 7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff) | |
download | busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.zip busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz |
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
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 c3e2523..e875d04 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 c444089..e5b1a39 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 3101a20..007099d 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 354286d..3e5f238 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 |