From: Martin Mares Date: Sat, 1 Nov 2014 15:39:32 +0000 (+0100) Subject: Fix whitespace errors X-Git-Tag: v3.3.0~24 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=444b85776bed1bba8678da8993bbc4ae7f78e572;p=pciutils.git Fix whitespace errors --- 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);