summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-12-15 03:34:09 +0000
committerEric Anholt <anholt@freebsd.org>2004-12-15 03:34:09 +0000
commit3e65f52bda674bec43b807d50b41a537c9e93959 (patch)
tree9a2c70b676a821e888d223f967015098dcd1b612
parentaff0a2548561ecbe3411b57cd31f46cbb1b4f6b8 (diff)
Use SYSCTL_ADD_OID macro instead of calling function directly.
Submitted by: reffie@FreeBSD.org
-rw-r--r--bsd-core/drm_sysctl.c2
1 files changed, 1 insertions, 1 deletions
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,