cvs commit: src/sys/compat/linux linux_ioctl.c
Brooks Davis
brooks at FreeBSD.org
Thu Mar 24 09:51:15 PST 2005
brooks 2005-03-24 17:51:15 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_ioctl.c
Log:
Compile errors are way more useful then panics later.
Replace a KASSERT of LINUX_IFNAMSIZ == IFNAMSIZ with a preprocessor
check and #error message. This will prevent nasty suprises if users
change IFNAMSIZ without updating the linux code appropriatly.
Revision Changes Path
1.125 +4 -3 src/sys/compat/linux/linux_ioctl.c
More information about the cvs-src
mailing list