fixed free space reporting on 32bit systems
This commit is contained in:
parent
933235a840
commit
1cce74631c
1 changed files with 1 additions and 1 deletions
2
data.cpp
2
data.cpp
|
@ -281,7 +281,7 @@ void get_available_space(std::vector<Space> &space) {
|
||||||
std::vector<std::string> mounts;
|
std::vector<std::string> mounts;
|
||||||
struct statfs stats;
|
struct statfs stats;
|
||||||
std::string fullname, name, mountpoint;
|
std::string fullname, name, mountpoint;
|
||||||
long free_space, total_space;
|
fsblkcnt_t free_space, total_space;
|
||||||
int ptr, len;
|
int ptr, len;
|
||||||
size_t str_pos;
|
size_t str_pos;
|
||||||
bool OK;
|
bool OK;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue