Fix display of the drm sysctls.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2011-04-23 23:11:44 +00:00
parent 45496405c6
commit 9af3638096

View File

@ -95,7 +95,7 @@ int drm_sysctl_init(struct drm_device *dev)
SYSCTL_CHILDREN(top),
OID_AUTO,
drm_sysctl_list[i].name,
CTLTYPE_INT | CTLFLAG_RD,
CTLTYPE_STRING | CTLFLAG_RD,
dev,
0,
drm_sysctl_list[i].f,