summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-28 16:27:51 +0100
committerJakob Bornecrantz <[email protected]>2010-04-28 16:27:51 +0100
commit6fc532ae05352a5540c658580cde08b1e0e9f84c (patch)
tree4bb7bc3f1dd1d36351e10f828a96e0dd5eafc124 /src
parente42d84eaba228d4d96a46d116c6ca24581e29439 (diff)
parentef9a8fcb1b651b95c570fd3a46cdea4751d2b725 (diff)
Merge branch '7.8'
Diffstat (limited to 'src')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 8b6f78cdc9f..4be39627302 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -708,7 +708,8 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp,
dri2_dpy->fd = open(dri2_dpy->device_name, O_RDWR);
if (dri2_dpy->fd == -1) {
_eglLog(_EGL_FATAL,
- "DRI2: could not open %s (%s)", path, strerror(errno));
+ "DRI2: could not open %s (%s)", dri2_dpy->device_name,
+ strerror(errno));
goto cleanup_driver;
}