summaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
authorDenys Vlasenko2011-01-25 23:21:46 +0100
committerDenys Vlasenko2011-01-25 23:21:46 +0100
commit8d0e0cdadf726beab28ccdc7d69738c1534e1f74 (patch)
tree73eec58affb5ac0b6d8e97fb36e9f0beb11da00d /loginutils/adduser.c
parent9aa599dc9dc076f6fa6e4312e4750a703cf16450 (diff)
downloadbusybox-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.zip
busybox-8d0e0cdadf726beab28ccdc7d69738c1534e1f74.tar.gz
move utmp.h include to libbb.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 1a9949e..d938b80 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -78,11 +78,11 @@ static void addgroup_wrapper(struct passwd *p, const char *group_name)
free(cmd);
}
-static void passwd_wrapper(const char *login) NORETURN;
+static void passwd_wrapper(const char *login_name) NORETURN;
-static void passwd_wrapper(const char *login)
+static void passwd_wrapper(const char *login_name)
{
- BB_EXECLP("passwd", "passwd", login, NULL);
+ BB_EXECLP("passwd", "passwd", login_name, NULL);
bb_error_msg_and_die("can't execute passwd, you must set password manually");
}