Code cleanup
This commit is contained in:
parent
1a135949ed
commit
42ccfce4f6
2
src/ls.c
2
src/ls.c
|
@ -588,8 +588,8 @@ static void _long_mode(char str[11], mode_t mode)
|
||||||
|
|
||||||
static char const * _long_owner(uid_t uid)
|
static char const * _long_owner(uid_t uid)
|
||||||
{
|
{
|
||||||
static char buf[12];
|
|
||||||
struct passwd * pw;
|
struct passwd * pw;
|
||||||
|
static char buf[12];
|
||||||
|
|
||||||
if((pw = getpwuid(uid)) != NULL)
|
if((pw = getpwuid(uid)) != NULL)
|
||||||
return pw->pw_name;
|
return pw->pw_name;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user