From b180e5a76678f697b2a368e2ef607d299d06a3ae Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 26 May 2006 14:24:56 +0000 Subject: - use portability wrapper define bb_setpgrp. --- loginutils/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils') 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 ); -- cgit v1.1