summaryrefslogtreecommitdiff
path: root/libntp/work_fork.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2015-04-10 01:26:02 +0000
committerCy Schubert <cy@FreeBSD.org>2015-04-10 01:26:02 +0000
commit4ba32eb5a8bf3455c09d1513ed2af8d2c861a6ba (patch)
treef0f951897eebdd4e1fe1c8d47d866fa6c128828d /libntp/work_fork.c
parentf7cba3a80d9ebefc57776fffd17a4ae68f72e494 (diff)
Notes
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 10329e70be8f4..dab02bc6af148 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;