Skip to content
Snippets Groups Projects
Commit d2465398 authored by Danny Auble's avatar Danny Auble
Browse files
parent 694b6957
No related branches found
No related tags found
No related merge requests found
......@@ -737,7 +737,7 @@ extern int bridge_set_log_params(char *api_file_name, unsigned int level)
/* In the libraries linked to from the bridge there are stderr
messages send which we would miss unless we dup this to the
log */
(void)dup2(fp, STDERR_FILENO);
(void)dup2(fileno(fp), STDERR_FILENO);
if(fp2)
fclose(fp2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment