From 3259ddd1e74e88642913c2b6facc1377ac875a9e Mon Sep 17 00:00:00 2001 From: David Date: Fri, 4 Apr 2014 16:39:54 +1300 Subject: Segfault bugfix --- trayfreq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trayfreq.c') diff --git a/trayfreq.c b/trayfreq.c index f8b0cc8..ec82705 100644 --- a/trayfreq.c +++ b/trayfreq.c @@ -39,6 +39,8 @@ void config_init() gboolean home_config_exists; config.key_file = NULL; + printf("Battery governor: %s",_DEFAULT_BAT_GOV); + config.file_name = g_strconcat(getenv("HOME"), "/.trayfreq.config", NULL); // Check if ~/.trayfreq.config exists -- cgit v1.1