aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorAndrew Chambers <[email protected]>2021-10-14 11:25:42 +1300
committerAndrew Chambers <[email protected]>2021-10-14 11:25:42 +1300
commit711c240cbc38bcb093ff1424f800f8e2e9960317 (patch)
tree3dbba01c5f42b902a35504dde991322b6b7abc34 /util.c
parentbc8b406043b23a5825320248cbad3ff73cd124fe (diff)
Handle empty file.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 70a4cc0..ab1fa19 100644
--- a/util.c
+++ b/util.c
@@ -18,7 +18,7 @@ void fatal(const char *fmt, ...) {
exit(1);
}
-void unreachable(void) { lfatal("BUG: unexpected internal condition"); }
+void unreachable(void) { fatal("BUG: unexpected internal condition"); }
void *xmalloc(size_t n) {
void *p;