OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dc0a1
)
xf86drm: Fix ioctl struct clearing in drmAgpEnable
author
Connor Behan
<connor.behan@gmail.com>
Tue, 24 Mar 2015 17:53:51 +0000
(13:53 -0400)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sun, 5 Apr 2015 14:33:33 +0000
(15:33 +0100)
This one is a bit harder to notice.
Signed-off-by: Connor Behan <connor.behan@gmail.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
xf86drm.c
patch
|
blob
|
history
diff --git
a/xf86drm.c
b/xf86drm.c
index
e73cddd
..
ffc53b8
100644
(file)
--- a/
xf86drm.c
+++ b/
xf86drm.c
@@
-1719,7
+1719,7
@@
int drmAgpEnable(int fd, unsigned long mode)
{
drm_agp_mode_t m;
- memclear(m
ode
);
+ memclear(m);
m.mode = mode;
if (drmIoctl(fd, DRM_IOCTL_AGP_ENABLE, &m))
return -errno;