summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gralloc_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc_drm.c b/gralloc_drm.c
index 3478dde..54b9408 100644
--- a/gralloc_drm.c
+++ b/gralloc_drm.c
@@ -205,7 +205,7 @@ static struct gralloc_drm_bo_t *validate_handle(buffer_handle_t _handle,
return NULL;
/* the buffer handle is passed to a new process */
- if (unlikely(handle->data_owner != gralloc_drm_pid)) {
+ if (unlikely(handle->data_owner != gralloc_drm_get_pid())) {
struct gralloc_drm_bo_t *bo;
/* check only */