diff options
author | Denys Vlasenko | 2011-03-01 16:27:13 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-03-01 16:27:13 +0100 |
commit | 7d65abea092e917bc2320cbf1d5a2dccb2a8288f (patch) | |
tree | 48d54d5150bedd8eb980b1760d75deb6f6df8949 /libbb/bb_pwd.c | |
parent | 3b28dae17dc93584f0e38388d0dbdbd6761d705e (diff) | |
download | busybox-7d65abea092e917bc2320cbf1d5a2dccb2a8288f.zip busybox-7d65abea092e917bc2320cbf1d5a2dccb2a8288f.tar.gz |
libbb: make user/group name cache strings longer (~27 chars)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/bb_pwd.c')
-rw-r--r-- | libbb/bb_pwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/bb_pwd.c b/libbb/bb_pwd.c index 32406cb..4829b72 100644 --- a/libbb/bb_pwd.c +++ b/libbb/bb_pwd.c @@ -72,13 +72,13 @@ char* FAST_FUNC gid2group(gid_t gid) return (gr) ? gr->gr_name : NULL; } -char* FAST_FUNC uid2uname_utoa(long uid) +char* FAST_FUNC uid2uname_utoa(uid_t uid) { char *name = uid2uname(uid); return (name) ? name : utoa(uid); } -char* FAST_FUNC gid2group_utoa(long gid) +char* FAST_FUNC gid2group_utoa(gid_t gid) { char *name = gid2group(gid); return (name) ? name : utoa(gid); |