diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/adduser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index eb98901..1630c72 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c @@ -117,7 +117,7 @@ static void addgroup_wrapper(const char *login, gid_t gid) { char *cmd; - bb_xasprintf(&cmd, "addgroup -g %d %s", gid, login); + cmd = bb_xasprintf("addgroup -g %d %s", gid, login); system(cmd); free(cmd); } |