summaryrefslogtreecommitdiff
path: root/sys/dev/ioat
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-08-19 00:46:22 +0000
commitb8e771e97a39a88bbf6ebf8f31dcc820c91fe355 (patch)
treef2f650a1268aff544f6cda15482de87cc0ebb65a /sys/dev/ioat
parentfaa319436f0d548cff97c2c8c763538997b63f34 (diff)
Notes
Diffstat (limited to 'sys/dev/ioat')
-rw-r--r--sys/dev/ioat/ioat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c
index b03de58fcb55..744c26dfafdc 100644
--- a/sys/dev/ioat/ioat.c
+++ b/sys/dev/ioat/ioat.c
@@ -241,7 +241,7 @@ static struct _pcsid
};
MODULE_PNP_INFO("W32:vendor/device;D:#", pci, ioat, pci_ids,
- nitems(pci_ids));
+ sizeof(pci_ids[0]), nitems(pci_ids));
/*
* OS <-> Driver linkage functions