[BusyBox-cvs] CVS update of busybox/networking (ifupdown.c)

Erik Andersen andersen at codepoet.org
Tue Jun 29 00:48:31 UTC 2004


    Date: Monday, June 28, 2004 @ 18:48:31
  Author: andersen
    Path: /var/cvs/busybox/networking

Modified: ifupdown.c (1.38 -> 1.39)

Paul Fox writes:

hi --

working with ifupdown, i've found a couple of buglets --
the wrong string is passed to an error message.

paul


Index: busybox/networking/ifupdown.c
diff -u busybox/networking/ifupdown.c:1.38 busybox/networking/ifupdown.c:1.39
--- busybox/networking/ifupdown.c:1.38	Sat Apr 24 23:11:17 2004
+++ busybox/networking/ifupdown.c	Mon Jun 28 18:48:30 2004
@@ -799,13 +799,13 @@
 
 				currif->address_family = get_address_family(addr_fams, address_family_name);
 				if (!currif->address_family) {
-					bb_error_msg("unknown address type \"%s\"", buf);
+					bb_error_msg("unknown address type \"%s\"", address_family_name);
 					return NULL;
 				}
 
 				currif->method = get_method(currif->address_family, method_name);
 				if (!currif->method) {
-					bb_error_msg("unknown method \"%s\"", buf);
+					bb_error_msg("unknown method \"%s\"", method_name);
 					return NULL;
 				}
 



More information about the busybox-cvs mailing list