From: Thierry Reding <tred...@nvidia.com>

One of the error returns ended up being indented twice. Fix it.

Signed-off-by: Thierry Reding <tred...@nvidia.com>
---
 drm-atomic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drm-atomic.c b/drm-atomic.c
index 82531d346d73..99ac33d6a686 100644
--- a/drm-atomic.c
+++ b/drm-atomic.c
@@ -116,7 +116,7 @@ static int drm_atomic_commit(uint32_t fb_id, uint32_t flags)
        if (flags & DRM_MODE_ATOMIC_ALLOW_MODESET) {
                if (add_connector_property(req, drm.connector_id, "CRTC_ID",
                                                drm.crtc_id) < 0)
-                               return -1;
+                       return -1;
 
                if (drmModeCreatePropertyBlob(drm.fd, drm.mode, 
sizeof(*drm.mode),
                                              &blob_id) != 0)
-- 
2.16.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to