diff options
-rw-r--r-- | winsup/utils/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/utils/cygcheck.cc | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 3cf8c80..9f5cc49 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2004-10-20 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl> + + * cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. + Change ``Used'' to ``Free'' in helptext-title for drive-list. + 2004-10-18 Bas van Gompel <cygwin-patch.buzz@bavag.tmfweb.nl> * cygcheck.cc (pretty_id): Don't let i become negative. Fix diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 7861871..1700f16 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -1064,7 +1064,7 @@ dump_sysinfo () if (givehelp) { printf ("Listing available drives...\n"); - printf ("Drv Type Size Free Flags Name\n"); + printf ("Drv Type Size Used Flags Name\n"); } int prev_mode = SetErrorMode (SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX); @@ -1135,9 +1135,9 @@ dump_sysinfo () printf ("%.2s %s %-6s ", drive, drive_type, fsname); if (capacity_mb >= 0) - printf ("%5dMb %3d%% ", (int) capacity_mb, (int) percent_full); + printf ("%7dMb %3d%% ", (int) capacity_mb, (int) percent_full); else - printf (" N/A N/A "); + printf (" N/A N/A "); printf ("%s %s %s %s %s %s %s\n", flags & FS_CASE_IS_PRESERVED ? "CP" : " ", flags & FS_CASE_SENSITIVE ? "CS" : " ", |