summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-12-21 18:00:52 +0100
committerThierry Reding <treding@nvidia.com>2017-01-12 22:40:41 +0100
commite17cad1994d321a8279c124e7a85ddddcdd9e4cd (patch)
treec81e911278a3c867de47b1052d8b4185f96ee597 /xf86drm.c
parenteebefaf72c55fd2116f4c983ec6724a4d66ab413 (diff)
downloadlibdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.tar.gz
libdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.tar.bz2
libdrm-e17cad1994d321a8279c124e7a85ddddcdd9e4cd.zip
xf86drm: Fix indentation
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>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xf86drm.c b/xf86drm.c
index 7d7df184..b8b2cfe5 100644
--- 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: