summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c
index 88123c0..46766c5 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -147,7 +147,7 @@ int login_main(int argc, char **argv)
else
snprintf ( fromhost, sizeof( fromhost ) - 1, " on `%.100s'", tty );
- setpgrp();
+ bb_setpgrp;
openlog ( "login", LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH );