summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-31 19:34:53 +0000
committerMiles Bader <miles@gnu.org>1996-03-31 19:34:53 +0000
commit23e1eeb82c596686a8feec9ae93030ea27004b2e (patch)
tree70577ec9f2daff3af1ed5686c283538297c6ed93
parentf1ba13348832510746357ef29366d7120abd99e3 (diff)
(mode_rep): Prefix octal number with `0'.
-rw-r--r--ufs-utils/stati.c2
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;
}