From 3e65f52bda674bec43b807d50b41a537c9e93959 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 15 Dec 2004 03:34:09 +0000 Subject: Use SYSCTL_ADD_OID macro instead of calling function directly. Submitted by: reffie@FreeBSD.org --- bsd-core/drm_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c index d1a3dd8f..220559d9 100644 --- a/bsd-core/drm_sysctl.c +++ b/bsd-core/drm_sysctl.c @@ -82,7 +82,7 @@ int drm_sysctl_init(drm_device_t *dev) return 1; for (i = 0; i < DRM_SYSCTL_ENTRIES; i++) { - oid = sysctl_add_oid( &info->ctx, + oid = SYSCTL_ADD_OID(&info->ctx, SYSCTL_CHILDREN(top), OID_AUTO, drm_sysctl_list[i].name, -- cgit v1.2.3