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:
parent
618b1eec71
commit
38a56edbe3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159041
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user