about summary refs log tree commit diff
path: root/nss/getent.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/getent.c')
-rw-r--r--nss/getent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nss/getent.c b/nss/getent.c
index 97c5875de7..7a3ad52175 100644
--- a/nss/getent.c
+++ b/nss/getent.c
@@ -448,8 +448,6 @@ print_networks (struct netent *net)
       putchar_unlocked (' ');
       fputs_unlocked (net->n_aliases[i], stdout);
       ++i;
-      if (net->n_aliases[i] != NULL)
-	putchar_unlocked (',');
     }
   putchar_unlocked ('\n');
 }