summaryrefslogtreecommitdiff
path: root/loginutils/login.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-26 14:24:56 +0000
committerBernhard Reutner-Fischer2006-05-26 14:24:56 +0000
commitb180e5a76678f697b2a368e2ef607d299d06a3ae (patch)
tree5584440b892d7cd966ab9db679af5531ac56104e /loginutils/login.c
parent08421e1d0cf1938947553b02b0788b09e11e5c0d (diff)
downloadbusybox-b180e5a76678f697b2a368e2ef607d299d06a3ae.zip
busybox-b180e5a76678f697b2a368e2ef607d299d06a3ae.tar.gz
- use portability wrapper define bb_setpgrp.
Diffstat (limited to 'loginutils/login.c')
-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 );