Source-Changes-HG archive

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

[src/trunk]: src/libexec/rlogind consistently use LOG_NOTICE instead of LOG_I...



details:   https://anonhg.NetBSD.org/src/rev/7d2ce311e10d
branches:  trunk
changeset: 501980:7d2ce311e10d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jan 10 01:41:38 2001 +0000

description:
consistently use LOG_NOTICE instead of LOG_INFO for hostname lookup probs

diffstat:

 libexec/rlogind/rlogind.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a626e7f624e8 -r 7d2ce311e10d libexec/rlogind/rlogind.c
--- a/libexec/rlogind/rlogind.c Wed Jan 10 01:16:59 2001 +0000
+++ b/libexec/rlogind/rlogind.c Wed Jan 10 01:41:38 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rlogind.c,v 1.22 2000/11/09 01:04:14 itojun Exp $      */
+/*     $NetBSD: rlogind.c,v 1.23 2001/01/10 01:41:38 lukem Exp $       */
 
 /*
  * Copyright (C) 1998 WIDE Project.
@@ -73,7 +73,7 @@
 #if 0
 static char sccsid[] = "@(#)rlogind.c  8.2 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: rlogind.c,v 1.22 2000/11/09 01:04:14 itojun Exp $");
+__RCSID("$NetBSD: rlogind.c,v 1.23 2001/01/10 01:41:38 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -309,7 +309,7 @@
                        hints.ai_flags = AI_CANONNAME;
                        gaierror = getaddrinfo(hostnamebuf, "0", &hints, &res0);
                        if (gaierror) {
-                               syslog(LOG_INFO,
+                               syslog(LOG_NOTICE,
                                    "Couldn't look up address for %s: %s",
                                    hostnamebuf, gai_strerror(gaierror));
                                hostname = naddr;



Home | Main Index | Thread Index | Old Index