From a057243ef11e64a9659ff5f5a96cd3b14777dafc Mon Sep 17 00:00:00 2001
From: Tharre <tharre3@gmail.com>
Date: Mon, 24 Nov 2014 21:47:23 +0100
Subject: Rename diem to fatal to further confuse matters.

It's actually pretty easy now, fatal() is used as a short cut for
appending the strerror'd errno, while die() is just the generic version
of printing errors that behaves just like fprintf(stderr, msg) + exit().
---
 src/util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/util.h')

diff --git a/src/util.h b/src/util.h
index 0cac914..db02cd4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -12,7 +12,7 @@
 #include <stddef.h>
 
 #define DIE_HELPER(M, ...) die(M ": %s\n", __VA_ARGS__)
-#define diem(...) DIE_HELPER(__VA_ARGS__, strerror(errno))
+#define fatal(...) DIE_HELPER(__VA_ARGS__, strerror(errno))
 
 extern void __attribute__((noreturn)) die(const char *err, ...);
 extern void *xmalloc(size_t size);
-- 
cgit v1.2.3-70-g09d2