aboutsummaryrefslogtreecommitdiffstats
path: root/src/comproot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/comproot.h')
-rw-r--r--src/comproot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comproot.h b/src/comproot.h
index 3445c75..eca8cae 100644
--- a/src/comproot.h
+++ b/src/comproot.h
@@ -49,7 +49,7 @@ typedef void (*handler_func)(HANDLER_ARGS);
#define HANDLER_ID HANDLER_REQ->id
#define HANDLER_PID HANDLER_REQ->pid
#define HANDLER_ARG(i) HANDLER_REQ->data.args[i]
-#define HANDLER_END \
+#define HANDLER_END(rc) \
do { \
HANDLER_RESP->val = rc; \
HANDLER_RESP->error = rc ? -errno : 0; \