Date: Thu, 24 Mar 2005 17:51:15 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_ioctl.c Message-ID: <200503241751.j2OHpFQg063306@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503241751.j2OHpFQg063306>