diff options
author | Miles Bader <miles@gnu.org> | 1996-03-31 19:34:53 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-31 19:34:53 +0000 |
commit | 23e1eeb82c596686a8feec9ae93030ea27004b2e (patch) | |
tree | 70577ec9f2daff3af1ed5686c283538297c6ed93 | |
parent | f1ba13348832510746357ef29366d7120abd99e3 (diff) |
(mode_rep): Prefix octal number with `0'.
-rw-r--r-- | ufs-utils/stati.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs-utils/stati.c b/ufs-utils/stati.c index bc3f2a14..699d8f5c 100644 --- a/ufs-utils/stati.c +++ b/ufs-utils/stati.c @@ -99,7 +99,7 @@ mode_rep (unsigned short mode) add_perms (3, S_ISGID); add_perms (6, 0); - snprintf (p, buf + sizeof buf - p, " [%0o]", mode); + snprintf (p, buf + sizeof buf - p, " [0%0o]", mode); return buf; } |