From cc15da3e3cb47333f92d8701b03b0ef87a88bea4 Mon Sep 17 00:00:00 2001 From: jhurst Date: Sun, 22 Feb 2015 20:16:28 +0000 Subject: megasubs --- src/path-test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/path-test.cpp') 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; -- cgit v1.2.3