summaryrefslogtreecommitdiffstats
path: root/winsup/utils/cygcheck.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-21 00:06:37 +0000
committerChristopher Faylor <me@cgf.cx>2004-10-21 00:06:37 +0000
commitbe957eb563b141eb3ff2cc0fc8b90401083df859 (patch)
treebab53a9600080b7d78dfba57d9c7e2635b069ef6 /winsup/utils/cygcheck.cc
parent4082a9eb4a8dba965ce6e1bcc86ee24c0f437bd7 (diff)
downloadcygnal-be957eb563b141eb3ff2cc0fc8b90401083df859.tar.gz
cygnal-be957eb563b141eb3ff2cc0fc8b90401083df859.tar.bz2
cygnal-be957eb563b141eb3ff2cc0fc8b90401083df859.zip
* cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. Change
``Used'' to ``Free'' in helptext-title for drive-list.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 7861871d0..1700f167b 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" : " ",