[cairo] [PATCH v8 28/71] drm: fixed return value of _device_flush()

Enrico Weigelt, metux IT consult enrico.weigelt at gr13.net
Thu Jun 30 15:46:06 UTC 2016


Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
---
 src/drm/cairo-drm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
index 3f79d35..161874c 100644
--- a/src/drm/cairo-drm.c
+++ b/src/drm/cairo-drm.c
@@ -60,12 +60,12 @@ get_udev_property(struct udev_device *device, const char *name)
     return NULL;
 }
 
-static void
+static cairo_status_t
 _device_flush (void *abstract_device)
 {
     cairo_drm_device_t *device = _cairo_abstract_device_cast_drm(abstract_device);
 
-    device->device.flush (device);
+    return device->device.flush (device);
 }
 
 static void
-- 
2.6.4.442.g545299f



More information about the cairo mailing list