From: Eric Andersen Date: Sun, 28 Oct 2001 09:36:48 +0000 (-0000) Subject: Use error_msg() instead of fprintf(stderr, ...) X-Git-Tag: 0_60_2~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4acf8f848161cb321130cbc014113a91b061a1db;p=oweals%2Fbusybox.git Use error_msg() instead of fprintf(stderr, ...) --- 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 @@ * 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; }