From 39a841cecf616098c9c8cf63bbfea5ea2922097c Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 29 Sep 2005 16:18:57 +0000 Subject: change interface to bb_xasprintf() - more perfect for me. ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum --- loginutils/adduser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils') diff --git a/loginutils/adduser.c b/loginutils/adduser.c index eb9890168..1630c72ba 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); } -- cgit v1.2.3