diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-28 09:36:48 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-10-28 09:36:48 +0000 |
| commit | 5729ea5ffd0340367d7b587509020f03fb55f16b (patch) | |
| tree | 783a234904b6e2657e3dba045e2cbcfae3473d6f | |
| parent | 79362aa78e62f5d1539b61ac300328c7235b1f0b (diff) | |
| download | busybox-w32-5729ea5ffd0340367d7b587509020f03fb55f16b.tar.gz busybox-w32-5729ea5ffd0340367d7b587509020f03fb55f16b.tar.bz2 busybox-w32-5729ea5ffd0340367d7b587509020f03fb55f16b.zip | |
Use error_msg() instead of fprintf(stderr, ...)
git-svn-id: svn://busybox.net/trunk/busybox@3598 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | networking/ifconfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 295c89c5e..fe154cf13 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | * Foundation; either version 2 of the License, or (at | 15 | * Foundation; either version 2 of the License, or (at |
| 16 | * your option) any later version. | 16 | * your option) any later version. |
| 17 | * | 17 | * |
| 18 | * $Id: ifconfig.c,v 1.14 2001/10/28 05:12:18 andersen Exp $ | 18 | * $Id: ifconfig.c,v 1.15 2001/10/28 09:36:48 andersen Exp $ |
| 19 | * | 19 | * |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| @@ -356,7 +356,7 @@ int ifconfig_main(int argc, char **argv) | |||
| 356 | } | 356 | } |
| 357 | safe_strncpy(host, *argv, (sizeof host)); | 357 | safe_strncpy(host, *argv, (sizeof host)); |
| 358 | if (in_ether(host, &sa)) { | 358 | if (in_ether(host, &sa)) { |
| 359 | fprintf(stderr, "invalid hw-addr %s\n", host); | 359 | error_msg("invalid hw-addr %s", host); |
| 360 | ++goterr; | 360 | ++goterr; |
| 361 | continue; | 361 | continue; |
| 362 | } | 362 | } |
