diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-12-23 04:50:52 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-12-23 04:50:52 +0000 |
| commit | 79554b40494d38cf003376f22d5f80550c5f2bfe (patch) | |
| tree | 8a4fd9e635a3dd638efd8d11f81edcea17439f71 | |
| parent | 7aea69e54a9df49786f5cf56fcd86dfb4c513b6f (diff) | |
Notes
| -rw-r--r-- | sys/net/iflib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/iflib.h b/sys/net/iflib.h index 367c1d2fe28a..3730f0eadc8c 100644 --- a/sys/net/iflib.h +++ b/sys/net/iflib.h @@ -176,7 +176,7 @@ typedef struct pci_vendor_info { #define IFLIB_PNP_DESCR "U32:vendor;U32:device;U32:subvendor;U32:subdevice;" \ "U32:revision;U32:class;D:#" #define IFLIB_PNP_INFO(b, u, t) \ - MODULE_PNP_INFO(IFLIB_PNP_DESCR, b, u, t, sizeof(t[0]), nitems(t)) + MODULE_PNP_INFO(IFLIB_PNP_DESCR, b, u, t, sizeof(t[0]), nitems(t) - 1) typedef struct if_txrx { int (*ift_txd_encap) (void *, if_pkt_info_t); |
