megasubs
[asdcplib.git] / src / path-test.cpp
index 30a5e09f81864d0f9fd1a2f8cc0d507ec085315f..f3cb131b7aa6c4ef72e895099cb2afa8cddd2d14 100644 (file)
@@ -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;