summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_fb.c b/src/lib/ecore_drm/ecore_drm_fb.c
index 385d3ea..00c062a 100644
--- a/src/lib/ecore_drm/ecore_drm_fb.c
+++ b/src/lib/ecore_drm/ecore_drm_fb.c
@@ -99,7 +99,7 @@ ecore_drm_fb_create(Ecore_Drm_Device *dev, int width, int height)
99 } 99 }
100 100
101 fb->mmap = 101 fb->mmap =
102 mmap(0, fb->size, PROT_WRITE, MAP_SHARED, dev->drm.fd, marg.offset); 102 mmap(NULL, fb->size, PROT_WRITE, MAP_SHARED, dev->drm.fd, marg.offset);
103 if (fb->mmap == MAP_FAILED) 103 if (fb->mmap == MAP_FAILED)
104 { 104 {
105 ERR("Could not mmap framebuffer space: %m"); 105 ERR("Could not mmap framebuffer space: %m");