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 | 8cf285ca92fcc5b5ad8909831fab5ab4a1c236fd (patch) | |
| tree | c150e04228813d948e43fb16e4ce4682835b65fa /ufs-utils | |
| parent | fd6a62408f06410d2b54426fa70bd4356dfea20c (diff) | |
(mode_rep): Prefix octal number with `0'.
Diffstat (limited to 'ufs-utils')
| -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; } |
