powerd: correct ifdef check for ppc

Reviewed by:	jhibbits
This commit is contained in:
Eitan Adler 2018-06-27 01:28:09 +00:00
parent e18e638423
commit 48c7315619
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ acline_init(void)
acline_mode = ac_sysctl;
if (vflag)
warnx("using sysctl for AC line status");
#if __powerpc__
#ifdef __powerpc__
} else if (sysctlnametomib(PMUAC, acline_mib, &acline_mib_len) == 0) {
acline_mode = ac_sysctl;
if (vflag)