mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-29 17:20:14 +01:00
Bug #11989: Fix regression in getstats ioctl (kernel panic).
This commit is contained in:
parent
56133e04de
commit
4cdd871e90
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ int drm_getstats(drm_device_t *dev, void *data, struct drm_file *file_priv)
|
|||
drm_stats_t *stats = data;
|
||||
int i;
|
||||
|
||||
memset(&stats, 0, sizeof(stats));
|
||||
memset(stats, 0, sizeof(drm_stats_t));
|
||||
|
||||
DRM_LOCK();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue