From 04445b6bff02da758a87a48c19ee4963aba62f15 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 30 Sep 2020 16:03:29 -0400 Subject: util: Don't rely on bftw And rename format_mode() to xstrmode() while I'm at it. --- printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printf.c') 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); } -- cgit v1.2.3