OSDN Git Service

Merge branch '7.8'
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 28 Apr 2010 15:27:51 +0000 (16:27 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Wed, 28 Apr 2010 15:27:51 +0000 (16:27 +0100)
src/egl/drivers/dri2/egl_dri2.c

index 8b6f78c..4be3962 100644 (file)
@@ -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;
    }