summaryrefslogtreecommitdiffhomepage
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 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