summary refs log tree commit diff stats
path: root/plugins/sysinfo/shared/df.c
diff options
context:
space:
mode:
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;