summaryrefslogtreecommitdiff
path: root/src/openbsd_pci.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2012-03-09 21:02:11 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2018-11-25 19:19:55 +0100
commit87786ac519ad2b3c34e746809c371eaee5752e5e (patch)
tree7579da9012836937c63e209ce4d5df57bea5ca82 /src/openbsd_pci.c
parent0943caaba4220ca32893dd9ab0a2bcc1a7097880 (diff)
Merge libpciaccess 0.13 from X.Org.
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