summaryrefslogtreecommitdiff
path: root/src/openbsd_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/openbsd_pci.c')
-rw-r--r--src/openbsd_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c
index 0412726..c73ce70 100644
--- a/src/openbsd_pci.c
+++ b/src/openbsd_pci.c
@@ -224,7 +224,8 @@ pci_device_openbsd_map_range(struct pci_device *dev,
mo.mo_arg[0] = MEMRANGE_SET_UPDATE;
if (ioctl(aperturefd, MEMRANGE_SET, &mo))
- (void)fprintf(stderr, "mtrr set failed: %s\n",
+ (void)fprintf(stderr, "mtrr set %lx %lx failed: %s\n",
+ (intptr_t)map->base, (intptr_t)map->size,
strerror(errno));
}
#endif