diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2020-09-30 16:03:29 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2020-09-30 16:13:55 -0400 |
commit | 04445b6bff02da758a87a48c19ee4963aba62f15 (patch) | |
tree | cc682e59fb8cad80b94c6ae7c8be375f2e383cfd /printf.c | |
parent | ffda15423b9920377c8af97e208f9d78b5c80d91 (diff) | |
download | bfs-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |