Use error_msg() instead of fprintf(stderr, ...)
authorEric Andersen <andersen@codepoet.org>
Sun, 28 Oct 2001 09:36:48 +0000 (09:36 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 28 Oct 2001 09:36:48 +0000 (09:36 -0000)
networking/ifconfig.c

index 295c89c5ec05d2a167c46dd94c2bb39ec9729449..fe154cf1336b96a3bbe9fecf1149c930a23e0138 100644 (file)
@@ -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;
                                                }