summary refs log tree commit diff stats
path: root/plugins/sysinfo/match.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-21 14:24:01 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-21 14:24:01 +0200
commit8404ebf1d44420f3e0d1d0b5653b3bd8b9fdaefc (patch)
treedf31a4eec108c576e0b8b4390826c1e0e977f351 /plugins/sysinfo/match.c
parent1e7d7101c612da4d1c21abdff85d8fe8e40e4416 (diff)
Even more SysInfo fixes
Diffstat (limited to 'plugins/sysinfo/match.c')
-rw-r--r--plugins/sysinfo/match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/match.c b/plugins/sysinfo/match.c
index 3ad44716..3184ce22 100644
--- a/plugins/sysinfo/match.c
+++ b/plugins/sysinfo/match.c
@@ -54,7 +54,7 @@ char *pretty_freespace(const char *desc, unsigned long long *free_k, unsigned lo
 		free_space = free_space / 1024;
 		total_space = total_space / 1024;
 	}
-	if (sysinfo_get_percentages () != 0)
+	if (sysinfo_get_percent () != 0)
 		snprintf(result, bsize, "%s: %.1f%s, %.1f%% free",
 		desc, total_space, bytesize,
 		percentage(free_k, total_k));