summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
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 89f6998..48bb1fe 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 804d696..7b68f39 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 a25632e..716f830 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 21e8076..b2f3166 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 f54939e..4346832 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;