1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-03 12:35:02 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159041

View File

@ -300,7 +300,7 @@ mpt_set_options(struct mpt_softc *mpt)
tval = 0; tval = 0;
if (resource_int_value(device_get_name(mpt->dev), if (resource_int_value(device_get_name(mpt->dev),
device_get_unit(mpt->dev), "debug", &tval) == 0 && tval != 0) { device_get_unit(mpt->dev), "debug", &tval) == 0 && tval != 0) {
mpt->verbose += tval; mpt->verbose = tval;
} }
tval = 0; tval = 0;
if (resource_int_value(device_get_name(mpt->dev), if (resource_int_value(device_get_name(mpt->dev),