When setting verbose, *set* it, don't *add* it.

This commit is contained in:
Matt Jacob 2006-05-29 16:59:38 +00:00
parent 618b1eec71
commit 38a56edbe3

View File

@ -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),