aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 575b4f7cac..a017d1e919 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4170,7 +4170,7 @@ options_init_logs(or_options_t *options, int validate_only)
err?"stderr":"stdout");
} else {
add_stream_log(severity, err?"<stderr>":"<stdout>",
- err?stderr:stdout);
+ fileno(err?stderr:stdout));
}
}
goto cleanup;