diff options
| author | Brian Somers <brian@FreeBSD.org> | 2001-05-28 01:00:03 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2001-05-28 01:00:03 +0000 |
| commit | 04bd20e31d9f5959e3a24b75b213df279f0e875f (patch) | |
| tree | 6e65fe6460a32bc832aca3616b09d07e9a341ba7 /sys/kern/subr_rman.c | |
| parent | edd7b2674d3d95f0cabf0664225b5a42369b5ae4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_rman.c')
| -rw-r--r-- | sys/kern/subr_rman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index 9b898c4ba2bf..f9941daf6efe 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -188,8 +188,8 @@ rman_reserve_resource(struct rman *rm, u_long start, u_long end, u_long count, rv = 0; DPRINTF(("rman_reserve_resource: <%s> request: [%#lx, %#lx], length " - "%#lx, flags %u, device %s%d\n", rm->rm_descr, start, end, - count, flags, device_get_name(dev), device_get_unit(dev))); + "%#lx, flags %u, device %s\n", rm->rm_descr, start, end, count, + flags, dev == NULL ? "<null>" : device_get_nameunit(dev))); want_activate = (flags & RF_ACTIVE); flags &= ~RF_ACTIVE; |
