From 3949f3c9eaad9547fe046ca4d469fa7cc8f12304 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Mon, 22 Sep 2008 10:16:19 +0800 Subject: intel: Fix driver-supplied argument to exec function (fd.o bug #17653). --- libdrm/intel/intel_bufmgr_fake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdrm/intel') 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 -- cgit v1.2.3