diff options
Diffstat (limited to 'sbin/mountd/mountd.c')
-rw-r--r-- | sbin/mountd/mountd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index eb4fbbac2c6..334cc6f9422 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mountd.c,v 1.51 2002/07/18 08:41:05 deraadt Exp $ */ +/* $OpenBSD: mountd.c,v 1.52 2002/07/18 08:46:18 deraadt Exp $ */ /* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */ /* @@ -1396,7 +1396,7 @@ get_host(char *cp, struct grouplist *grp, struct grouplist *tgrp) if ((hp = gethostbyname(cp)) == NULL) { if (isdigit(*cp)) { if (inet_aton(cp, &saddr) == 0) { - syslog(LOG_ERR, "inet_addr failed for %s", cp); + syslog(LOG_ERR, "inet_aton failed for %s", cp); return (1); } if ((hp = gethostbyaddr((caddr_t)&saddr.s_addr, |