diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
commit | a9801658ee4b7f5717d145818428452f864e1015 (patch) | |
tree | f85bbdf6cb572751dee639feb9896cad3503b924 /loginutils/su.c | |
parent | b750dec40a4bf013f98658b46925117d9d1d4811 (diff) |
getty, sulogin: convert to using bb_msg for syslog output
Diffstat (limited to 'loginutils/su.c')
-rw-r--r-- | loginutils/su.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <syslog.h> -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); |