udev2dev() can return NODEV now, make sure it doesn't crash autoconf's
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 28 Jul 2004 06:04:41 +0000 (06:04 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 28 Jul 2004 06:04:41 +0000 (06:04 +0000)
commit422bd071a4d7d322f5b34b69bfdc68018bbad43d
treea9250e1a673661d30e7dc8e810586c2f741720dc
parent4e3518d8a3dd8f1706dc380fab2767006b6e4136
udev2dev() can return NODEV now, make sure it doesn't crash autoconf's
attempt to mount the root filesystem.

Crash reported by: =?ISO-8859-1?Q?Stefan_Kr=FCger?= <skrueger@meinberlikomm.de>
sys/i386/i386/autoconf.c
sys/platform/pc32/i386/autoconf.c