aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-06-29 00:48:30 +0000
committerEric Andersen <andersen@codepoet.org>2004-06-29 00:48:30 +0000
commitfe9b9cdfa59fabea11e0b2d45336f19d627fd25f (patch)
tree3b1a0b9f89663093cc7fd0e30144cddb4f2c5afd /networking
parentd926149d26d08df1d9ee84104f002098d1ba9b28 (diff)
downloadbusybox-fe9b9cdfa59fabea11e0b2d45336f19d627fd25f.tar.gz
Paul Fox writes:
hi -- working with ifupdown, i've found a couple of buglets -- the wrong string is passed to an error message. paul
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index ebf528d71..a8a746453 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -799,13 +799,13 @@ static struct interfaces_file_t *read_interfaces(char *filename)
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;
}