summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index b92cc03d2e4..5deb90cdae2 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -374,7 +374,7 @@ gf_log_init (void *data, const char *file, const char *ident)
if (strcmp (file, "-") == 0) {
ctx->log.gf_log_logfile = stderr;
-
+ ctx->log.logfile = stderr;
return 0;
}