summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2008-09-22 10:16:19 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-09-22 10:16:19 +0800
commit3949f3c9eaad9547fe046ca4d469fa7cc8f12304 (patch)
tree0079a517032c0a824ff74b440bda921b7aee39e4
parent8ca06eb492f861dbf049a2e104e4e2a5ba814c13 (diff)
intel: Fix driver-supplied argument to exec function (fd.o bug #17653).
-rw-r--r--libdrm/intel/intel_bufmgr_fake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/intel/intel_bufmgr_fake.c b/libdrm/intel/intel_bufmgr_fake.c
index 4b4c2a1b..28c7f6b3 100644
--- a/libdrm/intel/intel_bufmgr_fake.c
+++ b/libdrm/intel/intel_bufmgr_fake.c
@@ -1177,7 +1177,7 @@ void intel_bufmgr_fake_set_exec_callback(dri_bufmgr *bufmgr,
dri_bufmgr_fake *bufmgr_fake = (dri_bufmgr_fake *)bufmgr;
bufmgr_fake->exec = exec;
- bufmgr_fake->exec_priv = exec;
+ bufmgr_fake->exec_priv = priv;
}
static int