summaryrefslogtreecommitdiff
path: root/threadproc
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc')
-rw-r--r--threadproc/os2/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c
index 059558a90..8e4a4a3b6 100644
--- a/threadproc/os2/proc.c
+++ b/threadproc/os2/proc.c
@@ -514,7 +514,7 @@ APR_DECLARE(apr_status_t) apr_proc_create(apr_proc_t *proc, const char *progname
}
if (attr->child_out) {
- if (attr->child_err->filedes != -1) {
+ if (attr->child_out->filedes != -1) {
apr_file_close(attr->child_out);
}