df: show free blocks in free column
Previous change accidentally switched to showing used blocks instead, which is less useful. Also fix an alignment issue in the header. Change-Id: I5878c2336009c351a5f305ab510d42354d6db18d Reviewed-on: https://review.haiku-os.org/c/haiku/+/10229 Reviewed-by: Adrien Destugues <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
+1
-1
@@ -223,7 +223,7 @@ PrintCompact(dev_t device, FormatType format, bool strictPosix, bool all)
|
||||
printf("\x1B[0m\n");
|
||||
PrintType(info.fsh_name);
|
||||
PrintBlocks(info.total_blocks, info.block_size, format);
|
||||
PrintBlocks(usedBlocks, info.block_size, format);
|
||||
PrintBlocks(info.free_blocks, info.block_size, format);
|
||||
|
||||
printf(" ");
|
||||
PrintFlag(info.flags, B_FS_HAS_QUERY, 'Q', '-');
|
||||
|
||||
Reference in New Issue
Block a user