about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-01-28 15:55:25 +0000
committerUlrich Drepper <drepper@redhat.com>2009-01-28 15:55:25 +0000
commit1dd757696b0d4208f3aa124459b78c91d39f4513 (patch)
tree8c0cd1dc273a4a0f3a9a117ca12908a17b58f4f4 /nss
parent563ee1cb34198f649712721fc658c7bef9e05dd7 (diff)
downloadglibc-1dd757696b0d4208f3aa124459b78c91d39f4513.tar.gz
glibc-1dd757696b0d4208f3aa124459b78c91d39f4513.tar.xz
glibc-1dd757696b0d4208f3aa124459b78c91d39f4513.zip
* nss/getent.c (print_networks): Don't print comma between aliases.
Diffstat (limited to 'nss')
-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');
 }