diff options
Diffstat (limited to 'trace/simple.c')
-rw-r--r-- | trace/simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/simple.c b/trace/simple.c index 18af590..c0aba00 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -366,7 +366,7 @@ void st_set_trace_file(const char *file) /* Type cast needed for Windows where getpid() returns an int. */ trace_file_name = g_strdup_printf(CONFIG_TRACE_FILE "-" FMT_pid, (pid_t)getpid()); } else { - trace_file_name = g_strdup_printf("%s", file); + trace_file_name = g_strdup(file); } st_set_trace_file_enabled(saved_enable); |