summary refs log tree commit diff stats
path: root/plugins/sysinfo/shared/df.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2015-02-21 21:01:14 -0500
committerTingPing <tingping@tingping.se>2015-02-21 21:01:14 -0500
commit7e7e87600e4a8e826e39ced94432582007a8ee0a (patch)
treef75b0b6adee7c23e5bdc0b6f1ae32ac55ffa1746 /plugins/sysinfo/shared/df.c
parentc36d4859d7e8d8907e4fe82e82d690d76df389ab (diff)
More type issues/warnings
Diffstat (limited to 'plugins/sysinfo/shared/df.c')
-rw-r--r--plugins/sysinfo/shared/df.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sysinfo/shared/df.c b/plugins/sysinfo/shared/df.c
index 2ef75689..ce0760a6 100644
--- a/plugins/sysinfo/shared/df.c
+++ b/plugins/sysinfo/shared/df.c
@@ -37,7 +37,7 @@ int xs_parse_df(gint64 *out_total, gint64 *out_free)
 		long long int avail, total;
 
 		/* Filesystem 1024-blocks Used Available Capacity Mounted-on */
-		if (sscanf (buffer, "%*s %lld %*lld %lld %*s %*s", &total, &avail) == 2)
+		if (sscanf (buffer, "%*s %lld %*s %lld %*s %*s", &total, &avail) == 2)
 		{
 			*out_total += total;
 			*out_free += avail;