From 81846d943c6f69bbea40b63df5d7f266bdc70b01 Mon Sep 17 00:00:00 2001
From: Sven Wegener <sven.wegener@stealer.net>
Date: Thu, 13 May 2010 00:43:17 +0200
Subject: [PATCH] Use off_t for free space calculation
This is needed to show correct free space information for todays large
filesystems on 32bit systems.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
src/mountlist.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mountlist.h b/src/mountlist.h
index cf878f8..a71dbf5 100644
a
|
b
|
struct my_statfs |
29 | 29 | char *typename; |
30 | 30 | const char *mpoint; |
31 | 31 | const char *device; |
32 | | int avail; |
33 | | int total; |
34 | | int nfree; |
35 | | int nodes; |
| 32 | off_t avail; |
| 33 | off_t total; |
| 34 | off_t nfree; |
| 35 | off_t nodes; |
36 | 36 | }; |
37 | 37 | |
38 | 38 | void init_my_statfs (void); |