From cb6314ba9b1c1c017aa686ea6dfdf733939aaa1b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 5 Jun 2024 12:33:43 -0400 Subject: Replace some switch-case lookups with arrays --- src/stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stat.c') 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 "???"; } -- cgit v1.2.3