Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/inetd use LOG_WARNING for syslog output for address...



details:   https://anonhg.NetBSD.org/src/rev/d81dfab13f52
branches:  trunk
changeset: 486101:d81dfab13f52
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat May 13 06:42:13 2000 +0000

description:
use LOG_WARNING for syslog output for address family mismatch.
suggested by: thorpej

diffstat:

 usr.sbin/inetd/inetd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d3dfb05d510d -r d81dfab13f52 usr.sbin/inetd/inetd.c
--- a/usr.sbin/inetd/inetd.c    Sat May 13 06:04:41 2000 +0000
+++ b/usr.sbin/inetd/inetd.c    Sat May 13 06:42:13 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inetd.c,v 1.60 2000/05/13 02:56:47 itojun Exp $        */
+/*     $NetBSD: inetd.c,v 1.61 2000/05/13 06:42:13 itojun Exp $        */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -77,7 +77,7 @@
 #if 0
 static char sccsid[] = "@(#)inetd.c    8.4 (Berkeley) 4/13/94";
 #else
-__RCSID("$NetBSD: inetd.c,v 1.60 2000/05/13 02:56:47 itojun Exp $");
+__RCSID("$NetBSD: inetd.c,v 1.61 2000/05/13 06:42:13 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -907,7 +907,7 @@
                        error = getaddrinfo(host, port, &hints, &res);
                        if (error) {
                                if (host == NULL) {
-                                       syslog(LOG_ERR, "%s/%s: %s: "
+                                       syslog(LOG_WARNING, "%s/%s: %s: "
                                            "the address family is not "
                                            "supported by the kernel",
                                            sep->se_service, sep->se_proto,



Home | Main Index | Thread Index | Old Index