diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-18 08:46:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-18 08:46:19 +0000 |
commit | 76d3ef913f01cd468785588e5ba87f6dfad8f0ea (patch) | |
tree | 45c9141f78899444568a4f74be8172000ceec76e /sbin/mountd/mountd.c | |
parent | 524b18b9044ee3820a5d1413f515b5905dcaf9d2 (diff) |
fix warning
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, |