diff options
author | vehemens <vehemens@verizon.net> | 2007-08-15 11:05:44 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-08-15 11:06:49 -0700 |
commit | 4cdd871e90cd5fe440d0a4af5d69f1d84e49e742 (patch) | |
tree | d3d570ce0bd19dbd578c01f962ec1387a3fc21ba | |
parent | 56133e04de40e3004018d069cb229e62ee10e0f4 (diff) |
Bug #11989: Fix regression in getstats ioctl (kernel panic).
-rw-r--r-- | bsd-core/drm_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/drm_ioctl.c b/bsd-core/drm_ioctl.c index d6af4284..ce78bb8f 100644 --- a/bsd-core/drm_ioctl.c +++ b/bsd-core/drm_ioctl.c @@ -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(); |