From 444b85776bed1bba8678da8993bbc4ae7f78e572 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 1 Nov 2014 16:39:32 +0100 Subject: [PATCH] Fix whitespace errors --- ChangeLog | 4 ++-- lib/darwin-device.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 717f468..25dfb8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -117,7 +117,7 @@ * Updated pci.ids to the today's snapshot of the database. * Fixed memory and file descriptor leak in the dump back-end. - + * The SR-IOV capability decoder now prints the VF BAR's. Patch by Chris Wright, cleaned up by me. @@ -359,7 +359,7 @@ * Makefile: stripping of the binaries during installation can be overridden by the STRIP variable. - + * lib/types.h: We use the integer types from if the compiler claims C99 support. diff --git a/lib/darwin-device.c b/lib/darwin-device.c index e6e091d..262e1e4 100644 --- a/lib/darwin-device.c +++ b/lib/darwin-device.c @@ -82,9 +82,9 @@ darwin_detect(struct pci_access *a) io_connect_t connect; kern_return_t status; - service = IOServiceGetMatchingService(kIOMasterPortDefault, + service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleACPIPlatformExpert")); - if (service) + if (service) { status = IOServiceOpen(service, mach_task_self(), 0, &connect); IOObjectRelease(service); -- 2.39.5