diff options
Diffstat (limited to 'sys/mips/rt305x/obio.c')
-rw-r--r-- | sys/mips/rt305x/obio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/rt305x/obio.c b/sys/mips/rt305x/obio.c index ac27230..fc8a4ac 100644 --- a/sys/mips/rt305x/obio.c +++ b/sys/mips/rt305x/obio.c @@ -326,7 +326,7 @@ obio_alloc_resource(device_t bus, device_t child, int type, int *rid, } rv = rman_reserve_resource(rm, start, end, count, flags, child); - if (rv == 0) { + if (rv == NULL) { printf("%s: could not reserve resource\n", __func__); return (0); } |