summaryrefslogtreecommitdiff
path: root/client/client.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-12 21:29:04 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2016-05-12 21:44:27 +0200
commit3f2c7600fa2e35b1028c755aa06092b5991e1a8e (patch)
tree3c63bcea68883d1065ab1abdfbe3ebdbab250cf3 /client/client.h
parent8e433d6a529a883d566dc1d5a4afe0f1e2750baf (diff)
We don't need bvsnprintf() in BIRD client
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))