diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-17 23:23:43 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-04-17 23:23:43 +0000 |
commit | d918aff890c261d38cce047461a4172c74718554 (patch) | |
tree | 7170296a34c63b48c232b7e75dc0e5776a051dd2 | |
parent | 58d7770a00136e44ec9598a46c3972a03ffbea24 (diff) | |
download | coreutils-d918aff890c261d38cce047461a4172c74718554.tar.xz |
(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.
-rw-r--r-- | src/stat.c | 4 |
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; } |