summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c4
1 files changed, 2 insertions, 2 deletions
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;
}