diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 12:54:15 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-20 12:54:15 -0400 |
commit | ffa83efbb604ba2ed921e86bc6c837f6d605faa2 (patch) | |
tree | fc3cfe72923893af49e4652308e0a15a5ce60830 /src/ctx.c | |
parent | 4a96b0d67d5d654ec1d5a3d447ceb07392fe87ec (diff) | |
download | bfs-ffa83efbb604ba2ed921e86bc6c837f6d605faa2.tar.xz |
Stop using %m
Diffstat (limited to 'src/ctx.c')
-rw-r--r-- | src/ctx.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -178,9 +178,9 @@ void bfs_ctx_flush(const struct bfs_ctx *ctx) { const char *path = ctx_file->path; if (path) { - bfs_error(ctx, "%pq: %m.\n", path); + bfs_error(ctx, "%pq: %s.\n", path, errstr()); } else if (cfile == ctx->cout) { - bfs_error(ctx, "(standard output): %m.\n"); + bfs_error(ctx, "(standard output): %s.\n", errstr()); } } |