aboutsummaryrefslogtreecommitdiff
path: root/winsup
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
parent4082a9eb4a8dba965ce6e1bcc86ee24c0f437bd7 (diff)
downloadnewlib-be957eb563b141eb3ff2cc0fc8b90401083df859.zip
newlib-be957eb563b141eb3ff2cc0fc8b90401083df859.tar.gz
newlib-be957eb563b141eb3ff2cc0fc8b90401083df859.tar.bz2
* 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')
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/cygcheck.cc6
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" : " ",