diff options
Diffstat (limited to 'sys/mips/rmi/xlr_pci.c')
-rw-r--r-- | sys/mips/rmi/xlr_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/rmi/xlr_pci.c b/sys/mips/rmi/xlr_pci.c index 53581a6..3d98503 100644 --- a/sys/mips/rmi/xlr_pci.c +++ b/sys/mips/rmi/xlr_pci.c @@ -537,7 +537,7 @@ xlr_pci_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) return (0); rman_set_rid(rv, *rid); |