aboutsummaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /loginutils/adduser.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 6c69aaf41..79cd2f4f7 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -81,7 +81,8 @@ static void passwd_wrapper(const char *login) ATTRIBUTE_NORETURN;
81 81
82static void passwd_wrapper(const char *login) 82static void passwd_wrapper(const char *login)
83{ 83{
84 static const char prog[] = "passwd"; 84 static const char prog[] ALIGN1 = "passwd";
85
85 BB_EXECLP(prog, prog, login, NULL); 86 BB_EXECLP(prog, prog, login, NULL);
86 bb_error_msg_and_die("failed to execute '%s', you must set the password for '%s' manually", prog, login); 87 bb_error_msg_and_die("failed to execute '%s', you must set the password for '%s' manually", prog, login);
87} 88}