summaryrefslogtreecommitdiffstats
path: root/src/stat.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-06-05 12:33:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-06-05 12:35:22 -0400
commitcb6314ba9b1c1c017aa686ea6dfdf733939aaa1b (patch)
tree296dcae30e39670ba3fdb7e0f0259605225b23a2 /src/stat.c
parenta39904098ff9e022bc755f36a9546cbf07a3ff49 (diff)
downloadbfs-cb6314ba9b1c1c017aa686ea6dfdf733939aaa1b.tar.xz
Replace some switch-case lookups with arrays
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index 2044564..1e340d0 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -51,7 +51,7 @@ const char *bfs_stat_field_name(enum bfs_stat_field field) {
return "modification time";
}
- bfs_bug("Unrecognized stat field");
+ bfs_bug("Unrecognized stat field %d", (int)field);
return "???";
}