From a9801658ee4b7f5717d145818428452f864e1015 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 7 Sep 2006 16:20:03 +0000 Subject: getty, sulogin: convert to using bb_msg for syslog output --- loginutils/su.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'loginutils/su.c') diff --git a/loginutils/su.c b/loginutils/su.c index 6410e748f..2e0aed6b1 100644 --- a/loginutils/su.c +++ b/loginutils/su.c @@ -8,7 +8,7 @@ #include "busybox.h" #include -int su_main ( int argc, char **argv ) +int su_main(int argc, char **argv) { unsigned long flags; char *opt_shell = 0; @@ -27,7 +27,7 @@ int su_main ( int argc, char **argv ) if (optind < argc && argv[optind][0] == '-' && argv[optind][1] == 0) { flags |= SU_OPT_l; ++optind; - } + } /* get user if specified */ if (optind < argc) opt_username = argv [optind++]; @@ -81,7 +81,7 @@ int su_main ( int argc, char **argv ) change_identity(pw); setup_environment(opt_shell, flags & SU_OPT_l, !(flags & SU_OPT_mp), pw); - USE_SELINUX(set_current_security_context(NULL);) + USE_SELINUX(set_current_security_context(NULL);) /* Never returns */ run_shell(opt_shell, flags & SU_OPT_l, opt_command, (const char**)opt_args); -- cgit v1.2.3