summaryrefslogtreecommitdiff
path: root/lib-render.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-render.c')
-rw-r--r--lib-render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-render.c b/lib-render.c
index 098ad09..2e7407e 100644
--- a/lib-render.c
+++ b/lib-render.c
@@ -16,6 +16,7 @@
#include <assert.h>
#include "util.h"
+#include "diag.h"
#include "misc.h"
#include "style.h"
#include "gfx.h"
@@ -379,8 +380,7 @@ const struct comp *lib_find(const struct lib *lib, const char *name)
if (!strcmp(alias->name, name))
return comp;
}
- fprintf(stderr, "\"%s\" not found\n", name);
- exit(1);
+ fatal("\"%s\" not found\n", name);
}