aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /loginutils
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/Config.in4
-rw-r--r--loginutils/addgroup.c2
-rw-r--r--loginutils/adduser.c4
-rw-r--r--loginutils/login.c2
-rw-r--r--loginutils/sulogin.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index 89f699850..48bb1fee3 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -85,7 +85,7 @@ config CONFIG_GETTY
85 85
86config CONFIG_FEATURE_UTMP 86config CONFIG_FEATURE_UTMP
87 bool " Support utmp file" 87 bool " Support utmp file"
88 depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO 88 depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO
89 default n 89 default n
90 help 90 help
91 The file /var/run/utmp is used to track who is currently logged in. 91 The file /var/run/utmp is used to track who is currently logged in.
@@ -96,7 +96,7 @@ config CONFIG_FEATURE_WTMP
96 default n 96 default n
97 select CONFIG_FEATURE_UTMP 97 select CONFIG_FEATURE_UTMP
98 help 98 help
99 The file /var/run/wtmp is used to track when user's have logged into 99 The file /var/run/wtmp is used to track when user's have logged into
100 and logged out of the system. 100 and logged out of the system.
101 101
102config CONFIG_LOGIN 102config CONFIG_LOGIN
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index 804d6961c..7b68f394e 100644
--- a/loginutils/addgroup.c
+++ b/loginutils/addgroup.c
@@ -163,7 +163,7 @@ int addgroup_main(int argc, char **argv)
163 } else { 163 } else {
164 user = ""; 164 user = "";
165 } 165 }
166 166
167 if_i_am_not_root(); 167 if_i_am_not_root();
168 168
169 /* werk */ 169 /* werk */
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index a25632e44..716f83069 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -244,7 +244,7 @@ int adduser_main(int argc, char **argv)
244 const char *gecos = default_gecos; 244 const char *gecos = default_gecos;
245 const char *home = NULL; 245 const char *home = NULL;
246 const char *shell = DEFAULT_SHELL; 246 const char *shell = DEFAULT_SHELL;
247 const char *usegroup = NULL; 247 const char *usegroup = NULL;
248 int flags; 248 int flags;
249 int setpass = 1; 249 int setpass = 1;
250 int makehome = 1; 250 int makehome = 1;
@@ -293,7 +293,7 @@ int adduser_main(int argc, char **argv)
293 if (usegroup) { 293 if (usegroup) {
294 /* Add user to a group that already exists */ 294 /* Add user to a group that already exists */
295 pw.pw_gid = bb_xgetgrnam(usegroup); 295 pw.pw_gid = bb_xgetgrnam(usegroup);
296 /* exits on error */ 296 /* exits on error */
297 } 297 }
298 298
299 /* grand finale */ 299 /* grand finale */
diff --git a/loginutils/login.c b/loginutils/login.c
index 21e807615..b2f3166e2 100644
--- a/loginutils/login.c
+++ b/loginutils/login.c
@@ -101,7 +101,7 @@ extern int login_main(int argc, char **argv)
101 if ( optarg != argv[optind-1] ) 101 if ( optarg != argv[optind-1] )
102 bb_show_usage( ); 102 bb_show_usage( );
103 103
104 if ( !amroot ) /* Auth bypass only if real UID is zero */ 104 if ( !amroot ) /* Auth bypass only if real UID is zero */
105 bb_error_msg_and_die ( "-f permission denied" ); 105 bb_error_msg_and_die ( "-f permission denied" );
106 106
107 safe_strncpy(username, optarg, USERNAME_SIZE); 107 safe_strncpy(username, optarg, USERNAME_SIZE);
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index f54939eef..434683299 100644
--- a/loginutils/sulogin.c
+++ b/loginutils/sulogin.c
@@ -53,9 +53,9 @@ extern int sulogin_main(int argc, char **argv)
53 char *device = (char *) 0; 53 char *device = (char *) 0;
54 const char *name = "root"; 54 const char *name = "root";
55 int timeout = 0; 55 int timeout = 0;
56 56
57#define pass bb_common_bufsiz1 57#define pass bb_common_bufsiz1
58 58
59 struct passwd pwent; 59 struct passwd pwent;
60 struct passwd *pwd; 60 struct passwd *pwd;
61 const char * const *p; 61 const char * const *p;