⬢ DragonFlyBSD Kernel Audit
DF-4811 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/powermng/aps/aps.c b/sys/dev/powermng/aps/aps.c
index 1111111..2222222 100644
--- a/sys/dev/powermng/aps/aps.c
+++ b/sys/dev/powermng/aps/aps.c
@@ -99,7 +99,7 @@
 
 #define APS_ADDR_BASE		0x1600
-#define APS_ADDR_SIZE		0x1f
+#define APS_ADDR_SIZE		0x20
 
 struct aps_sensor_rec {
 	u_int8_t	state;