Source-Changes-HG archive

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

[src/trunk]: src/sbin/ifconfig fix function name in error messages.



details:   https://anonhg.NetBSD.org/src/rev/1bc45cebdb57
branches:  trunk
changeset: 783588:1bc45cebdb57
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Dec 30 22:52:35 2012 +0000

description:
fix function name in error messages.

diffstat:

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

diffs (27 lines):

diff -r c8b4750c0aed -r 1bc45cebdb57 sbin/ifconfig/af_inetany.c
--- a/sbin/ifconfig/af_inetany.c        Sun Dec 30 22:50:42 2012 +0000
+++ b/sbin/ifconfig/af_inetany.c        Sun Dec 30 22:52:35 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: af_inetany.c,v 1.16 2012/12/30 22:50:42 christos Exp $ */
+/*     $NetBSD: af_inetany.c,v 1.17 2012/12/30 22:52:35 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 David Young.  All rights reserved.
@@ -27,7 +27,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: af_inetany.c,v 1.16 2012/12/30 22:50:42 christos Exp $");
+__RCSID("$NetBSD: af_inetany.c,v 1.17 2012/12/30 22:52:35 christos Exp $");
 #endif /* not lint */
 
 #include <sys/param.h> 
@@ -81,7 +81,7 @@
                err(EXIT_FAILURE, "%s: getsock", __func__);
 
        if ((ifname = getifname(env)) == NULL)
-               err(EXIT_FAILURE, "%s: getifinfo", __func__);
+               err(EXIT_FAILURE, "%s: getifname", __func__);
 
        strlcpy(param->name[0].buf, ifname, param->name[0].buflen);
        strlcpy(param->name[1].buf, ifname, param->name[1].buflen);



Home | Main Index | Thread Index | Old Index