diff options
-rw-r--r-- | sbin/devd/devd.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index c5d009f..c9f6a86 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -233,7 +233,7 @@ media::do_match(config &c) // to subsystem if none exists. value = c.get_variable("device-name"); if (value.length() == 0) - string value = c.get_variable("subsystem"); + value = c.get_variable("subsystem"); if (Dflag) fprintf(stderr, "Testing media type of %s against 0x%x\n", value.c_str(), _type); |