summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-04-07 04:15:34 +0000
committerEric Anholt <anholt@freebsd.org>2006-04-07 04:15:34 +0000
commit14062aa41f9e3846aef733f66d2544ab33503af6 (patch)
treeeff4de0897266c5723d955566dcf97b644afdf1a /src
parentdaf6a54ec89dbe9f943c02f9ba5cea20b02e66a8 (diff)
Don't forget to zero the xf86ModReqInfo before using it. Noticed by Alex
Deucher.
Diffstat (limited to 'src')
-rw-r--r--src/i128_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i128_driver.c b/src/i128_driver.c
index 5c095cf..90beb30 100644
--- a/src/i128_driver.c
+++ b/src/i128_driver.c
@@ -1192,6 +1192,7 @@ I128PreInit(ScrnInfoPtr pScrn, int flags)
XF86ModReqInfo req;
int errmaj, errmin;
+ memset(&req, 0, sizeof(req));
req.majorversion = 2;
req.minorversion = 0;
if (!LoadSubModule(pScrn->module, "exa", NULL, NULL, NULL, &req,