diff options
Diffstat (limited to 'client/client.h')
-rw-r--r-- | client/client.h | 3 |
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)) |