summaryrefslogtreecommitdiffstats
path: root/winsup/utils/cygcheck.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-10-09 23:15:36 +0000
committerChristopher Faylor <me@cgf.cx>2004-10-09 23:15:36 +0000
commit82e127caac18614881e40165593c28123fc03ecb (patch)
tree76d34569c42b40b83f6644820926965df920597a /winsup/utils/cygcheck.cc
parent73131c2d20a76e0e839b4cacd66467c7b8e6cd13 (diff)
downloadcygnal-82e127caac18614881e40165593c28123fc03ecb.tar.gz
cygnal-82e127caac18614881e40165593c28123fc03ecb.tar.bz2
cygnal-82e127caac18614881e40165593c28123fc03ecb.zip
* cygcheck.cc (dump_sysinfo): Don't warn about empty path components, just
display ``.''.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 8dc1b21d5..1681b9724 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -958,9 +958,9 @@ dump_sysinfo ()
{
for (e = s; *e && *e != sep; e++);
if (e-s)
- printf ("\t%.*s\n", e - s, s);
+ printf ("\t%.*s\n", e - s, s);
else
- puts ("\tWarning: Empty path-component");
+ puts ("\t.");
count_path_items++;
if (!*e)
break;