Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 24f881e85..7861871d0 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -836,11 +836,11 @@ pretty_id (const char *s, char *cygwin, size_t cyglen)
printf ("\nOutput from %s (%s)\n", id, s);
int n = 80 / (int) ++sz;
- int i = n ? n - 2 : 0;
+ int i = n > 2 ? n - 2 : 0;
sz = -sz;
for (char **g = groups; g <= ng; g++)
if ((g != ng) && (++i < n))
- printf ("%*s ", sz, *g);
+ printf ("%*s", sz, *g);
else
{
puts (*g);