From 777ec061df28789bb041b81714d4e55e1cbcec71 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 15 Apr 2022 23:51:21 +0200 Subject: [PATCH] fbsd-device: One more fix Finishes the incomplete fix from 5c649bdcedfd823670dcbd74e9c38849d068db80. --- lib/fbsd-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fbsd-device.c b/lib/fbsd-device.c index 91d391b..604c8f0 100644 --- a/lib/fbsd-device.c +++ b/lib/fbsd-device.c @@ -224,7 +224,7 @@ fbsd_fill_info(struct pci_dev *d, unsigned int flags) if (ioctl(d->access->fd, PCIOCGETBAR, &bar) < 0) { if (errno == ENODEV) - return 0; + return; if (errno == EINVAL) { d->base_addr[i] = 0; -- 2.39.2