When setting verbose, *set* it, don't *add* it.
This commit is contained in:
parent
618b1eec71
commit
38a56edbe3
@ -300,7 +300,7 @@ mpt_set_options(struct mpt_softc *mpt)
|
||||
tval = 0;
|
||||
if (resource_int_value(device_get_name(mpt->dev),
|
||||
device_get_unit(mpt->dev), "debug", &tval) == 0 && tval != 0) {
|
||||
mpt->verbose += tval;
|
||||
mpt->verbose = tval;
|
||||
}
|
||||
tval = 0;
|
||||
if (resource_int_value(device_get_name(mpt->dev),
|
||||
|
Loading…
x
Reference in New Issue
Block a user