diff options
author | bde <bde@FreeBSD.org> | 1998-10-25 16:11:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-25 16:11:49 +0000 |
commit | b17bde009a29901e8647e3d0c680a716f3526a2d (patch) | |
tree | 551e0a0b6fba4052dbf4f0b00ad5a838e06115a9 /sys/ddb/db_expr.c | |
parent | 0230a7360f37e005e358fcbb4b08e645428b442d (diff) | |
download | FreeBSD-src-b17bde009a29901e8647e3d0c680a716f3526a2d.zip FreeBSD-src-b17bde009a29901e8647e3d0c680a716f3526a2d.tar.gz |
Fixed device number checking in bdevvp():
- dev != NODEV was checked for, but 0 was returned on failure. This was
fixed in Lite2 (except the return code was still slightly wrong (ENODEV
instead of ENXIO)) but the changes were not merged. This case probably
doesn't actually occur under FreeBSD.
- major(dev) was not checked to have a valid non-NULL bdevsw entry. This
caused panics when the driver for the root device didn't exist.
Fixed minor misformattings in bdevvp(). Rev.1.14 consisted mainly of
gratuitous reformattings that seem to have caused many Lite2 merge
errors.
PR: 8417
Diffstat (limited to 'sys/ddb/db_expr.c')
0 files changed, 0 insertions, 0 deletions