summaryrefslogtreecommitdiff
path: root/libntp/work_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libntp/work_fork.c')
-rw-r--r--libntp/work_fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libntp/work_fork.c b/libntp/work_fork.c
index 10329e7..dab02bc 100644
--- a/libntp/work_fork.c
+++ b/libntp/work_fork.c
@@ -382,7 +382,7 @@ fork_blocking_child(
int rc;
int was_pipe;
int is_pipe;
- int saved_errno;
+ int saved_errno = 0;
int childpid;
int keep_fd;
int fd;