summaryrefslogtreecommitdiffstats
path: root/printf.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-09-30 16:03:29 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-09-30 16:13:55 -0400
commit04445b6bff02da758a87a48c19ee4963aba62f15 (patch)
treecc682e59fb8cad80b94c6ae7c8be375f2e383cfd /printf.c
parentffda15423b9920377c8af97e208f9d78b5c80d91 (diff)
downloadbfs-04445b6bff02da758a87a48c19ee4963aba62f15.tar.xz
util: Don't rely on bftw
And rename format_mode() to xstrmode() while I'm at it.
Diffstat (limited to 'printf.c')
-rw-r--r--printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 124be22..c30868d 100644
--- a/printf.c
+++ b/printf.c
@@ -342,7 +342,7 @@ static int bfs_printf_M(FILE *file, const struct bfs_printf *directive, const st
}
char buf[11];
- format_mode(statbuf->mode, buf);
+ xstrmode(statbuf->mode, buf);
return fprintf(file, directive->str, buf);
}