summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2008-10-21 06:22:24 +0000
committermarco <marco@openbsd.org>2008-10-21 06:22:24 +0000
commit1e1a51dad0644f2af9b5503b74233163e24f40ac (patch)
tree1f9db32fd5eee06f9887095dbbfeffc5aba20891 /sys/dev
parentremove unused variable 'v', unbreaks the tree (diff)
downloadwireguard-openbsd-1e1a51dad0644f2af9b5503b74233163e24f40ac.tar.xz
wireguard-openbsd-1e1a51dad0644f2af9b5503b74233163e24f40ac.zip
Wow we had this structure forever wrong. Didn't break because it was
bigger than intended.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/amireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/amireg.h b/sys/dev/ic/amireg.h
index 0472868804b..b1902ac362b 100644
--- a/sys/dev/ic/amireg.h
+++ b/sys/dev/ic/amireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amireg.h,v 1.28 2008/10/21 03:16:21 marco Exp $ */
+/* $OpenBSD: amireg.h,v 1.29 2008/10/21 06:22:24 marco Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -514,7 +514,7 @@ struct ami_fc_einquiry {
u_int8_t ain_ldstat[AMI_BIG_MAX_LDRIVES];
u_int8_t ain_pdstat[AMI_BIG_MAX_PDRIVES];
- u_int16_t ain_pdfmtinp[AMI_BIG_MAX_PDRIVES];
+ u_int16_t ain_pdfmtinp[AMI_BIG_MAX_PDRIVES / 16];
u_int8_t ain_pdrates[80]; /* pdrv xfer rates */
u_int8_t ain_pad[263]; /* pad to 1k */
} __packed;