diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-06-05 12:33:43 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-06-05 12:35:22 -0400 |
commit | cb6314ba9b1c1c017aa686ea6dfdf733939aaa1b (patch) | |
tree | 296dcae30e39670ba3fdb7e0f0259605225b23a2 /src/stat.c | |
parent | a39904098ff9e022bc755f36a9546cbf07a3ff49 (diff) | |
download | bfs-cb6314ba9b1c1c017aa686ea6dfdf733939aaa1b.tar.xz |
Replace some switch-case lookups with arrays
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "???"; } |