diff options
Diffstat (limited to 'vmwgfx/vmwgfx_drmi.c')
-rw-r--r-- | vmwgfx/vmwgfx_drmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vmwgfx/vmwgfx_drmi.c b/vmwgfx/vmwgfx_drmi.c index e326d31..496a16b 100644 --- a/vmwgfx/vmwgfx_drmi.c +++ b/vmwgfx/vmwgfx_drmi.c @@ -452,7 +452,7 @@ vmwgfx_unref_stream(int drm_fd, uint32_t stream_id) ret = drmCommandWrite(drm_fd, DRM_VMW_UNREF_STREAM, &s_arg, sizeof(s_arg)); - return 0; + return (ret != 0) ? -1 : 0; } int |