Code cleanup

This commit is contained in:
Pierre Pronchery 2007-07-29 17:10:32 +00:00
parent 1a135949ed
commit 42ccfce4f6

View File

@ -588,8 +588,8 @@ static void _long_mode(char str[11], mode_t mode)
static char const * _long_owner(uid_t uid)
{
static char buf[12];
struct passwd * pw;
static char buf[12];
if((pw = getpwuid(uid)) != NULL)
return pw->pw_name;