mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Fix apparent logic reversal in setting the 'auto_mode' flag.
MFC after: 2 weeks
This commit is contained in:
parent
f9a61f7dcb
commit
2f42a9bf0d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=232199
@ -276,9 +276,9 @@ p4tcc_set(device_t dev, const struct cf_setting *set)
|
||||
* what the current mode.
|
||||
*/
|
||||
if (msr & TCC_ENABLE_ONDEMAND)
|
||||
sc->auto_mode = TRUE;
|
||||
else
|
||||
sc->auto_mode = FALSE;
|
||||
else
|
||||
sc->auto_mode = TRUE;
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user