Bug #11989: Fix regression in getstats ioctl (kernel panic).

main
vehemens 2007-08-15 11:05:44 -07:00 committed by Eric Anholt
parent 56133e04de
commit 4cdd871e90
1 changed files with 1 additions and 1 deletions

View File

@ -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();