aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 850c810c4..d3c795afa 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -159,7 +159,7 @@ static void passwd_wrapper(const char *login_name) NORETURN;
159static void passwd_wrapper(const char *login_name) 159static void passwd_wrapper(const char *login_name)
160{ 160{
161 BB_EXECLP("passwd", "passwd", "--", login_name, NULL); 161 BB_EXECLP("passwd", "passwd", "--", login_name, NULL);
162 bb_error_msg_and_die("can't execute passwd, you must set password manually"); 162 bb_simple_error_msg_and_die("can't execute passwd, you must set password manually");
163} 163}
164 164
165//FIXME: upstream adduser has no short options! NOT COMPATIBLE! 165//FIXME: upstream adduser has no short options! NOT COMPATIBLE!
@@ -193,7 +193,7 @@ int adduser_main(int argc UNUSED_PARAM, char **argv)
193 193
194 /* got root? */ 194 /* got root? */
195 if (geteuid()) { 195 if (geteuid()) {
196 bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); 196 bb_simple_error_msg_and_die(bb_msg_perm_denied_are_you_root);
197 } 197 }
198 198
199 pw.pw_gecos = (char *)"Linux User,,,"; 199 pw.pw_gecos = (char *)"Linux User,,,";