Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/rpcbind perror -> warn



details:   https://anonhg.NetBSD.org/src/rev/86c41ac05060
branches:  trunk
changeset: 338068:86c41ac05060
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat May 09 18:32:04 2015 +0000

description:
perror -> warn

diffstat:

 usr.sbin/rpcbind/util.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r edd8d41f468c -r 86c41ac05060 usr.sbin/rpcbind/util.c
--- a/usr.sbin/rpcbind/util.c   Sat May 09 18:22:37 2015 +0000
+++ b/usr.sbin/rpcbind/util.c   Sat May 09 18:32:04 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.18 2015/03/11 15:57:12 christos Exp $       */
+/*     $NetBSD: util.c,v 1.19 2015/05/09 18:32:04 dholland Exp $       */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -46,6 +46,7 @@
 #include <netconfig.h>
 #include <stdio.h>
 #include <arpa/inet.h>
+#include <err.h>
 
 #include "rpcbind.h"
 
@@ -358,7 +359,7 @@
                if (setsockopt(s, IPPROTO_IPV6, IPV6_JOIN_GROUP, &mreq6,
                    sizeof mreq6) < 0)
                        if (debugging)
-                               perror("setsockopt v6 multicast");
+                               warn("setsockopt v6 multicast");
        }
        freeifaddrs(ifp);
 #endif



Home | Main Index | Thread Index | Old Index