Module Name: src
Committed By: christos
Date: Sun Dec 30 22:52:35 UTC 2012
Modified Files:
src/sbin/ifconfig: af_inetany.c
Log Message:
fix function name in error messages.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sbin/ifconfig/af_inetany.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/ifconfig/af_inetany.c
diff -u src/sbin/ifconfig/af_inetany.c:1.16 src/sbin/ifconfig/af_inetany.c:1.17
--- src/sbin/ifconfig/af_inetany.c:1.16 Sun Dec 30 17:50:42 2012
+++ src/sbin/ifconfig/af_inetany.c Sun Dec 30 17:52:35 2012
@@ -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 @@ commit_address(prop_dictionary_t env, pr
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);