summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/openbsd_pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c
index daf9118..30820a2 100644
--- a/src/openbsd_pci.c
+++ b/src/openbsd_pci.c
@@ -469,8 +469,8 @@ pci_device_openbsd_open_legacy_io(struct pci_io_handle *ret,
struct amd64_iopl_args ia;
#endif
- /* With X server privilege separation, i/o access is
- enabled early and never disabled, allow recursive,
+ /* With X server privilege separation, i/o access is
+ enabled early and never disabled, allow recursive,
privilege-less calls */
if (legacy_io_handle != NULL) {
ret->base = legacy_io_handle->base;
@@ -633,7 +633,7 @@ pci_system_openbsd_create(void)
for (domain = 0; domain < sizeof(pcifd) / sizeof(pcifd[0]); domain++) {
snprintf(path, sizeof(path), "/dev/pci%d", domain);
- pcifd[domain] = open(path, O_RDWR | O_CLOEXEC);
+ pcifd[domain] = open(path, O_RDWR | O_CLOEXEC);
if (pcifd[domain] == -1) {
pcifd[domain] = open(path, O_RDONLY | O_CLOEXEC);
if (pcifd[domain] == -1)
@@ -784,7 +784,7 @@ pci_device_vgaarb_init(void)
if (ioctl(pcifd[0], PCIOCGETVGA, &pv))
continue;
if (pv.pv_decode)
- dev->vgaarb_rsrc =
+ dev->vgaarb_rsrc =
VGA_ARB_RSRC_LEGACY_IO |
VGA_ARB_RSRC_LEGACY_MEM;
}