diff options
Diffstat (limited to 'libexec/uucpd/uucpd.c')
-rw-r--r-- | libexec/uucpd/uucpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index e15c05b..dcb3b0e 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -45,7 +45,7 @@ static const char copyright[] = static char sccsid[] = "@(#)uucpd.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: uucpd.c,v 1.16 1999/03/30 10:23:35 joerg Exp $"; + "$Id: uucpd.c,v 1.17 1999/04/06 23:06:00 brian Exp $"; #endif /* not lint */ /* @@ -122,8 +122,8 @@ void badlogin(char *name, struct sockaddr_in *sin) { char remotehost[MAXHOSTNAMELEN]; - realhostname(remotehost, sizeof remotehost - 1, &sin->sin_addr); - remotehost[sizeof remotehost - 1] = '\0'; + realhostname(remotehost, sizeof(remotehost) - 1, &sin->sin_addr); + remotehost[sizeof(remotehost) - 1] = '\0'; syslog(LOG_NOTICE, "LOGIN FAILURE FROM %s", remotehost); syslog(LOG_AUTHPRIV|LOG_NOTICE, |