From d918aff890c261d38cce047461a4172c74718554 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 17 Apr 2006 23:23:43 +0000 Subject: (human_access): Use (new) filemodestring rather than (old) mode_string, so that we get more file types right, at least in theory. Adjust to filemode changes. --- src/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stat.c b/src/stat.c index fd5f8bd31..8b8f89a57 100644 --- a/src/stat.c +++ b/src/stat.c @@ -294,8 +294,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) static char * human_access (struct stat const *statbuf) { - static char modebuf[11]; - mode_string (statbuf->st_mode, modebuf); + static char modebuf[12]; + filemodestring (statbuf, modebuf); modebuf[10] = 0; return modebuf; } -- cgit v1.2.3-54-g00ecf