summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--battstat/battstat-upower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c
index 042d6098..2a3c6541 100644
--- a/battstat/battstat-upower.c
+++ b/battstat/battstat-upower.c
@@ -102,7 +102,7 @@ error_shutdownclient:
upc = NULL;
error_out:
- return "Can not initialize upower";
+ return g_strdup ("Can not initialize upower");
}
void