OSDN Git Service

xf86drm: Fix indentation
authorThierry Reding <treding@nvidia.com>
Wed, 21 Dec 2016 17:00:52 +0000 (18:00 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 12 Jan 2017 21:40:41 +0000 (22:40 +0100)
libdrm uses spaces for indentation. Fix the two inconsistent lines in
this file.

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
xf86drm.c

index 7d7df18..b8b2cfe 100644 (file)
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -2908,7 +2908,7 @@ static int drmParseSubsystemType(int maj, int min)
 
     return -EINVAL;
 #elif defined(__OpenBSD__)
-       return DRM_BUS_PCI;
+    return DRM_BUS_PCI;
 #else
 #warning "Missing implementation of drmParseSubsystemType"
     return -EINVAL;
@@ -3419,7 +3419,7 @@ int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
     closedir(sysdir);
     free(local_devices);
     if (*device == NULL)
-       return -ENODEV;
+        return -ENODEV;
     return 0;
 
 free_devices: