Hi, I'm seeing the following failure with sources current as of 19:39pm EDT (Oct 19). Occurs when building the GENERIC kernel. cc -pipe -g -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack-boundary=2 -c /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c: In function `bktr_detach': /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:484: `unit' undeclared (first use in this function) /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:484: (Each undeclared identifier is reported only once /usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c:484: for each function it appears in.) *** Error code 1 Stop in /usr/src/sys/modules/bktr/bktr. *** Error code 1 From the source: #if (__FreeBSD_version >=500000) if (unit == 0) { destroy_dev(bktr->vbidev_alias); destroy_dev(bktr->tunerdev_alias); destroy_dev(bktr->bktrdev_alias); } #endif Looks like we need a: unsigned int unit; unit = device_get_unit(dev); at the head of the function (wrapped in __FreeBSD_version >=500000 ??) Comments welcome. Thanks, John To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message