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-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
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
config CONFIG_FEATURE_UTMP
bool " Support utmp file"
- depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO
+ depends on CONFIG_GETTY || CONFIG_LOGIN || CONFIG_SU || CONFIG_WHO
default n
help
The file /var/run/utmp is used to track who is currently logged in.
@@ -96,7 +96,7 @@ config CONFIG_FEATURE_WTMP
default n
select CONFIG_FEATURE_UTMP
help
- The file /var/run/wtmp is used to track when user's have logged into
+ The file /var/run/wtmp is used to track when user's have logged into
and logged out of the system.
config 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)
} else {
user = "";
}
-
+
if_i_am_not_root();
/* 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)
const char *gecos = default_gecos;
const char *home = NULL;
const char *shell = DEFAULT_SHELL;
- const char *usegroup = NULL;
+ const char *usegroup = NULL;
int flags;
int setpass = 1;
int makehome = 1;
@@ -293,7 +293,7 @@ int adduser_main(int argc, char **argv)
if (usegroup) {
/* Add user to a group that already exists */
pw.pw_gid = bb_xgetgrnam(usegroup);
- /* exits on error */
+ /* exits on error */
}
/* 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)
if ( optarg != argv[optind-1] )
bb_show_usage( );
- if ( !amroot ) /* Auth bypass only if real UID is zero */
+ if ( !amroot ) /* Auth bypass only if real UID is zero */
bb_error_msg_and_die ( "-f permission denied" );
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)
char *device = (char *) 0;
const char *name = "root";
int timeout = 0;
-
+
#define pass bb_common_bufsiz1
-
+
struct passwd pwent;
struct passwd *pwd;
const char * const *p;