summaryrefslogtreecommitdiffstats
path: root/support/include/ha-callout.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/include/ha-callout.h')
-rw-r--r--support/include/ha-callout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/include/ha-callout.h b/support/include/ha-callout.h
index 707d51b..8acf0de 100644
--- a/support/include/ha-callout.h
+++ b/support/include/ha-callout.h
@@ -39,7 +39,7 @@ ha_callout(char *event, char *arg1, char *arg2, int arg3)
exit(2);
case -1: perror("fork");
break;
- default: ret = waitpid(pid, NULL, 0);
+ default: pid = waitpid(pid, &ret, 0);
}
#ifdef dprintf