summaryrefslogtreecommitdiff
path: root/networking/ifconfig.c
diff options
context:
space:
mode:
authorEric Andersen2001-10-28 09:36:48 +0000
committerEric Andersen2001-10-28 09:36:48 +0000
commit4acf8f848161cb321130cbc014113a91b061a1db (patch)
tree783a234904b6e2657e3dba045e2cbcfae3473d6f /networking/ifconfig.c
parent72f9a4277fe5ad7c6c6b9a9810d469cc7fcc3c71 (diff)
downloadbusybox-4acf8f848161cb321130cbc014113a91b061a1db.zip
busybox-4acf8f848161cb321130cbc014113a91b061a1db.tar.gz
Use error_msg() instead of fprintf(stderr, ...)
Diffstat (limited to 'networking/ifconfig.c')
-rw-r--r--networking/ifconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c
index 295c89c..fe154cf 100644
--- a/networking/ifconfig.c
+++ b/networking/ifconfig.c
@@ -15,7 +15,7 @@
* Foundation; either version 2 of the License, or (at
* your option) any later version.
*
- * $Id: ifconfig.c,v 1.14 2001/10/28 05:12:18 andersen Exp $
+ * $Id: ifconfig.c,v 1.15 2001/10/28 09:36:48 andersen Exp $
*
*/
@@ -356,7 +356,7 @@ int ifconfig_main(int argc, char **argv)
}
safe_strncpy(host, *argv, (sizeof host));
if (in_ether(host, &sa)) {
- fprintf(stderr, "invalid hw-addr %s\n", host);
+ error_msg("invalid hw-addr %s", host);
++goterr;
continue;
}