From ee20548ddcf1e21f7f0b709491e1f0a94b3c672a Mon Sep 17 00:00:00 2001 From: joe Date: Mon, 25 Aug 2003 22:01:06 +0000 Subject: Fix the cdevsw compatibility for -stable. --- sys/dev/usb/ucom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/usb/ucom.c') diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 0ec2140..b398661 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -140,7 +140,7 @@ static struct cdevsw ucom_cdevsw = { .d_maj = UCOM_CDEV_MAJOR, .d_flags = D_TTY, #if __FreeBSD_version < 500014 - /* bmaj */ -1, + .d_bmaj = -1, #endif .d_kqfilter = ttykqfilter, }; -- cgit v1.1