Include the bmaj entry in the cdevsw for versions of FreeBSD that need it.

This commit is contained in:
joe 2002-07-10 00:46:44 +00:00
parent 2ffd2d012a
commit 2ff4d14a63

View File

@ -144,6 +144,9 @@ static struct cdevsw ucom_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
#if __FreeBSD_version < 500014
/* bmaj */ -1,
#endif
/* kqfilter */ ttykqfilter,
};