From 4f16d2e03a6cc2415a0eefcf50410d1943319543 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 9 Dec 2005 15:43:30 +0000 Subject: Implement hidden poll, switch user to hidden *printf/*scanf/poll --- libc/pwd_grp/pwd_grp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/pwd_grp/pwd_grp.c') diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c index 39b2a1ca0..c1374740d 100644 --- a/libc/pwd_grp/pwd_grp.c +++ b/libc/pwd_grp/pwd_grp.c @@ -435,7 +435,7 @@ int getpw(uid_t uid, char *buf) if (!buf) { __set_errno(EINVAL); } else if (!__getpwuid_r(uid, &resultbuf, buffer, sizeof(buffer), &result)) { - if (sprintf(buf, "%s:%s:%lu:%lu:%s:%s:%s\n", + if (__sprintf(buf, "%s:%s:%lu:%lu:%s:%s:%s\n", resultbuf.pw_name, resultbuf.pw_passwd, (unsigned long)(resultbuf.pw_uid), (unsigned long)(resultbuf.pw_gid), -- cgit v1.2.3