]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix some config reading.
authorRoy Marples <roy@marples.name>
Mon, 18 Aug 2008 12:46:18 +0000 (12:46 +0000)
committerRoy Marples <roy@marples.name>
Mon, 18 Aug 2008 12:46:18 +0000 (12:46 +0000)
dhcpcd.c

index c32ffd92f14bd29992c1b73d586c9eedc8a80037..15f487ddd5a1c2d16ce1b2633291b9fc734ec183 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -536,7 +536,7 @@ parse_option(int opt, char *oarg, struct options *options)
                    make_option_mask(options->requiremask, &oarg, -1) != 0 ||
                    make_option_mask(options->nomask, &oarg, 1) != 0)
                {
-                       logger(LOG_ERR, "unknown option `%s'", optarg);
+                       logger(LOG_ERR, "unknown option `%s'", oarg);
                        return -1;
                }
                break;