diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/cfgfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index ffa2e531..b31d7e37 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -849,7 +849,7 @@ save_config (void) check_prefs_dir (); config = default_file (); - new_config = g_strdup_printf (config, ".new"); + new_config = g_strdup_printf ("%s.new", config); fh = g_open (new_config, OFLAGS | O_TRUNC | O_WRONLY | O_CREAT, 0600); if (fh == -1) |