summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 25c0856..6614a33 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -126,7 +126,7 @@ Static struct cdevsw urio_cdevsw = {
.d_name = "urio",
.d_maj = URIO_CDEV_MAJOR,
#if __FreeBSD_version < 500014
- -1
+ .d_bmaj = -1
#endif
};
#define RIO_UE_GET_DIR(p) ((UE_GET_DIR(p) == UE_DIR_IN) ? RIO_IN :\
OpenPOWER on IntegriCloud