powerd: correct ifdef check for ppc
Reviewed by: jhibbits
This commit is contained in:
parent
e18e638423
commit
48c7315619
@ -293,7 +293,7 @@ acline_init(void)
|
|||||||
acline_mode = ac_sysctl;
|
acline_mode = ac_sysctl;
|
||||||
if (vflag)
|
if (vflag)
|
||||||
warnx("using sysctl for AC line status");
|
warnx("using sysctl for AC line status");
|
||||||
#if __powerpc__
|
#ifdef __powerpc__
|
||||||
} else if (sysctlnametomib(PMUAC, acline_mib, &acline_mib_len) == 0) {
|
} else if (sysctlnametomib(PMUAC, acline_mib, &acline_mib_len) == 0) {
|
||||||
acline_mode = ac_sysctl;
|
acline_mode = ac_sysctl;
|
||||||
if (vflag)
|
if (vflag)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user