From 9af363809682cc2d88c8931863162ec1f2bef23e Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sat, 23 Apr 2011 23:11:44 +0000 Subject: [PATCH] Fix display of the drm sysctls. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/dev/drm/drm_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/drm/drm_sysctl.c b/sys/dev/drm/drm_sysctl.c index 1366b0755667..ce3e5b4c7ce8 100644 --- a/sys/dev/drm/drm_sysctl.c +++ b/sys/dev/drm/drm_sysctl.c @@ -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,