diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 273d1e49..68bad7a9 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_strconcat (config, ".new"); + new_config = g_strconcat (config, ".new", NULL); fh = g_open (new_config, OFLAGS | O_TRUNC | O_WRONLY | O_CREAT, 0600); if (fh == -1)