diff options
author | joe <joe@FreeBSD.org> | 2003-08-25 22:01:06 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2003-08-25 22:01:06 +0000 |
commit | ee20548ddcf1e21f7f0b709491e1f0a94b3c672a (patch) | |
tree | 2daa8f810432217314c2b26acafce673a8f8ee55 /sys/dev/usb/ucom.c | |
parent | 3e80957e2b5bec9c7d086833c410d9b9813bb8b8 (diff) | |
download | FreeBSD-src-ee20548ddcf1e21f7f0b709491e1f0a94b3c672a.zip FreeBSD-src-ee20548ddcf1e21f7f0b709491e1f0a94b3c672a.tar.gz |
Fix the cdevsw compatibility for -stable.
Diffstat (limited to 'sys/dev/usb/ucom.c')
-rw-r--r-- | sys/dev/usb/ucom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |