diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-24 12:06:09 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-24 12:06:09 -0400 |
commit | 98a026cf8b9d5da7730d5d4d1c88ba35d94771b2 (patch) | |
tree | 31543a42e0736aa1a2d4a19dff10d637a97193b4 /src | |
parent | 4a802da8d598c6fe3317e186b64a0b020cc96f01 (diff) | |
download | bfs-98a026cf8b9d5da7730d5d4d1c88ba35d94771b2.tar.xz |
ctx: Escape paths when reporting errors in bfs_ctx_free()
Diffstat (limited to 'src')
-rw-r--r-- | src/ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ int bfs_ctx_free(struct bfs_ctx *ctx) { if (bfs_ctx_fclose(ctx, ctx_file) != 0) { if (cerr) { - bfs_error(ctx, "'%s': %m.\n", ctx_file->path); + bfs_error(ctx, "%pq: %m.\n", ctx_file->path); } ret = -1; } |