aboutsummaryrefslogtreecommitdiff
path: root/loginutils/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/su.c')
-rw-r--r--loginutils/su.c6
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);