diff options
| author | jhurst <jhurst@cinecert.com> | 2015-02-22 20:16:28 +0000 |
|---|---|---|
| committer | jhurst <> | 2015-02-22 20:16:28 +0000 |
| commit | cc15da3e3cb47333f92d8701b03b0ef87a88bea4 (patch) | |
| tree | 0f1ead2c0bff304923bbe8e7c557cc9fb78ddf2e /src/path-test.cpp | |
| parent | 528cacb6122b33f73a805fbb47b4ae83a46db418 (diff) | |
megasubs
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; |
