From 42ccfce4f6acc4b3048b741e9f67bc1c348862a8 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 29 Jul 2007 17:10:32 +0000 Subject: [PATCH] Code cleanup --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ls.c b/src/ls.c index 151d53c..f0952c7 100644 --- a/src/ls.c +++ b/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 buf[12]; struct passwd * pw; + static char buf[12]; if((pw = getpwuid(uid)) != NULL) return pw->pw_name;