diff options
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index c7bf6cd483e..a7b4962fb1d 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -869,7 +869,7 @@ pub_glfs_set_logging (struct glfs *fs, const char *logfile, int loglevel) THIS->ctx = fs->ctx; if (!logfile) { - ret = gf_set_log_file_path (&fs->ctx->cmd_args); + ret = gf_set_log_file_path (&fs->ctx->cmd_args, fs->ctx); if (ret) goto out; tmplog = fs->ctx->cmd_args.log_file; |