mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 14:26:03 -04:00
rk8xx_poweroff: add parentheses missed in 8b408fc6f2
Fixes: 8b408fc6f2
MFC after: 2 weeks
This commit is contained in:
parent
a2ddbe019d
commit
a044cf60bd
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ rk8xx_poweroff(void *arg, int howto)
|
|||
int error;
|
||||
uint8_t val;
|
||||
|
||||
if (howto & (RB_POWEROFF | RB_POWERCYCLE) == 0)
|
||||
if ((howto & (RB_POWEROFF | RB_POWERCYCLE)) == 0)
|
||||
return;
|
||||
|
||||
device_printf(sc->dev, "Powering off...\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue