diff options
Diffstat (limited to 'nss')
-rw-r--r-- | nss/getent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getent.c b/nss/getent.c index bcc363dccf..4be9535b9d 100644 --- a/nss/getent.c +++ b/nss/getent.c @@ -348,7 +348,7 @@ ahosts_keys (int number, char *key[]) &((struct sockaddr_in *) runp->ai_addr)->sin_addr, buf, sizeof (buf)), sockstr, - runp->ai_canonname); + runp->ai_canonname ?: ""); runp = runp->ai_next; } |