diff options
Diffstat (limited to 'src/path-test.cpp')
| -rw-r--r-- | src/path-test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/path-test.cpp b/src/path-test.cpp index 30a5e09..f3cb131 100644 --- a/src/path-test.cpp +++ b/src/path-test.cpp @@ -141,6 +141,7 @@ main(int argc, const char** argv) FreeSpaceForPath("/", free_space, total_space); cerr << "Free space: " << free_space << endl; cerr << "Total space: " << total_space << endl; + cerr << "Used space: " << ( (total_space - free_space ) / float(total_space) ) << endl; cerr << "OK" << endl; |
