summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}