aboutsummaryrefslogtreecommitdiff
path: root/trayfreq.c
diff options
context:
space:
mode:
authorDavid <dbphillipsnz@gmail.com>2014-04-04 16:39:54 +1300
committerDavid <dbphillipsnz@gmail.com>2014-04-04 16:39:54 +1300
commit3259ddd1e74e88642913c2b6facc1377ac875a9e (patch)
tree617194833363e3bc7780ad38621fb154fe99023d /trayfreq.c
parent057f2e83f04459fef5d88f6c49bb9db5cc22693f (diff)
downloadparamano-3259ddd1e74e88642913c2b6facc1377ac875a9e.tar.xz
Segfault bugfix
Diffstat (limited to 'trayfreq.c')
-rw-r--r--trayfreq.c2
1 files changed, 2 insertions, 0 deletions
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