projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f9a42
)
Use error_msg() instead of fprintf(stderr, ...)
author
Eric Andersen
<andersen@codepoet.org>
Sun, 28 Oct 2001 09:36:48 +0000
(09:36 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sun, 28 Oct 2001 09:36:48 +0000
(09:36 -0000)
networking/ifconfig.c
patch
|
blob
|
history
diff --git
a/networking/ifconfig.c
b/networking/ifconfig.c
index 295c89c5ec05d2a167c46dd94c2bb39ec9729449..fe154cf1336b96a3bbe9fecf1149c930a23e0138 100644
(file)
--- 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.1
4 2001/10/28 05:12:1
8 andersen Exp $
+ * $Id: ifconfig.c,v 1.1
5 2001/10/28 09:36:4
8 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;
}