summaryrefslogtreecommitdiff
path: root/client/client.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-12 21:47:50 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-12 21:49:52 +0200
commitb66a9e2f3376b4cb07ef4cc318f70a9c794f407a (patch)
treec4f7ef483ec2d2c7bac4f605d2aed0b3ab7b738d /client/client.h
parent659f80f262a83d600d5f095fb8a03e912d3fbe64 (diff)
parent3f2c7600fa2e35b1028c755aa06092b5991e1a8e (diff)
Merge branch 'master' into int-new
Diffstat (limited to 'client/client.h')
-rw-r--r--client/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/client.h b/client/client.h
index b194a772..f9693def 100644
--- a/client/client.h
+++ b/client/client.h
@@ -34,3 +34,6 @@ char *cmd_expand(char *cmd);
/* client.c */
void submit_command(char *cmd_raw);
+
+/* die() with system error messages */
+#define DIE(x, y...) die(x ": %s", ##y, strerror(errno))