Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 01:28:10 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335683 - head/usr.sbin/powerd
Message-ID:  <201806270128.w5R1SAYo096204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Wed Jun 27 01:28:09 2018
New Revision: 335683
URL: https://svnweb.freebsd.org/changeset/base/335683

Log:
  powerd: correct ifdef check for ppc
  
  Reviewed by:	jhibbits

Modified:
  head/usr.sbin/powerd/powerd.c

Modified: head/usr.sbin/powerd/powerd.c
==============================================================================
--- head/usr.sbin/powerd/powerd.c	Tue Jun 26 23:28:03 2018	(r335682)
+++ head/usr.sbin/powerd/powerd.c	Wed Jun 27 01:28:09 2018	(r335683)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806270128.w5R1SAYo096204>