summaryrefslogtreecommitdiff
path: root/loginutils/adduser.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-06 01:20:12 +0000
committerDenis Vlasenko2007-02-06 01:20:12 +0000
commit1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch)
treef3e2e2185d092f87843fe4bbc9d1098185a5bdbd /loginutils/adduser.c
parentcc24419e98853aede7c652edb3c1c79a9865bdda (diff)
downloadbusybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.zip
busybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.gz
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r--loginutils/adduser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c
index 8193aea..b6d0c62 100644
--- a/loginutils/adduser.c
+++ b/loginutils/adduser.c
@@ -80,7 +80,7 @@ static void passwd_wrapper(const char *login) ATTRIBUTE_NORETURN;
static void passwd_wrapper(const char *login)
{
static const char prog[] = "passwd";
- execlp(prog, prog, login, NULL);
+ BB_EXECLP(prog, prog, login, NULL);
bb_error_msg_and_die("failed to execute '%s', you must set the password for '%s' manually", prog, login);
}