aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 924b9b45..266ce4eb 100644
--- a/util.c
+++ b/util.c
@@ -1127,7 +1127,7 @@ gint
h_sysfs_read_int(gchar *endpoint, gchar *entry)
{
gchar *tmp, *buffer;
- gint return_value = 0.0f;
+ gint return_value = 0;
tmp = g_build_filename(endpoint, entry, NULL);
if (g_file_get_contents(tmp, &buffer, NULL, NULL))