diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-24 02:24:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-24 02:24:38 +0000 |
commit | 4bf6ad2bc08aa3dd30894b49b2f36f1b95a31fcf (patch) | |
tree | 138dc8c9892cf1e1aefe637db3858875be86d94e /lib/libwrap/fix_options.c | |
parent | 431c0ec1f2305165e4cb70fbb03ffab0d9e20bb4 (diff) |
wrong error message
Diffstat (limited to 'lib/libwrap/fix_options.c')
-rw-r--r-- | lib/libwrap/fix_options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libwrap/fix_options.c b/lib/libwrap/fix_options.c index a5de0f52e46..ca34a7e907f 100644 --- a/lib/libwrap/fix_options.c +++ b/lib/libwrap/fix_options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fix_options.c,v 1.3 2000/10/14 00:56:15 itojun Exp $ */ +/* $OpenBSD: fix_options.c,v 1.4 2002/02/24 02:24:37 deraadt Exp $ */ /* * Routine to disable IP-level socket options. This code was taken from 4.4BSD @@ -11,7 +11,7 @@ #if 0 static char sccsid[] = "@(#) fix_options.c 1.4 97/02/12 02:13:22"; #else -static char rcsid[] = "$OpenBSD: fix_options.c,v 1.3 2000/10/14 00:56:15 itojun Exp $"; +static char rcsid[] = "$OpenBSD: fix_options.c,v 1.4 2002/02/24 02:24:37 deraadt Exp $"; #endif #endif @@ -58,7 +58,7 @@ struct request_info *request; */ sslen = sizeof(ss); if (getsockname(fd, (struct sockaddr *)&ss, &sslen) < 0) { - syslog(LOG_ERR, "getpeername: %m"); + syslog(LOG_ERR, "getsockname: %m"); clean_exit(request); } if (ss.ss_family != AF_INET) |