diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index 8644b7f94169..e9e4f612daa0 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id: vfs_cluster.c,v 1.22 1995/10/09 03:19:49 dyson Exp $ + * $Id: vfs_cluster.c,v 1.23 1995/10/29 15:31:22 phk Exp $ */ #include @@ -54,7 +54,7 @@ #include #include int doreallocblks = 0; -struct ctldebug debug13 = {"doreallocblks", &doreallocblks}; +SYSCTL_INT(_debug, 13, doreallocblks, CTLFLAG_RW, &doreallocblks, 0, ""); #else /* XXX for cluster_write */ diff --git a/sys/kern/vfs_export.c b/sys/kern/vfs_export.c index ca0621e1ea04..5b0645859b91 100644 --- a/sys/kern/vfs_export.c +++ b/sys/kern/vfs_export.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $ + * $Id: vfs_subr.c,v 1.40 1995/11/11 00:27:00 bde Exp $ */ /* @@ -874,8 +874,7 @@ holdrele(vp) */ #ifdef DIAGNOSTIC int busyprt = 0; /* print out busy vnodes */ -struct ctldebug debug1 = {"busyprt", &busyprt}; - +SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, ""); #endif int diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index e8e32e66610f..a2c37dfb89f3 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.38 1995/11/12 06:43:07 bde Exp $ + * $Id: vfs_syscalls.c,v 1.39 1995/11/13 08:22:21 bde Exp $ */ #include @@ -316,7 +316,7 @@ dounmount(mp, flags, p) */ #ifdef DIAGNOSTIC int syncprt = 0; -struct ctldebug debug0 = { "syncprt", &syncprt }; +SYSCTL_INT(_debug, 0, syncprt, CTLFLAG_RW, &syncprt, 0, ""); #endif #ifndef _SYS_SYSPROTO_H_ diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index ca0621e1ea04..5b0645859b91 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94 - * $Id: vfs_subr.c,v 1.39 1995/11/09 08:13:48 bde Exp $ + * $Id: vfs_subr.c,v 1.40 1995/11/11 00:27:00 bde Exp $ */ /* @@ -874,8 +874,7 @@ holdrele(vp) */ #ifdef DIAGNOSTIC int busyprt = 0; /* print out busy vnodes */ -struct ctldebug debug1 = {"busyprt", &busyprt}; - +SYSCTL_INT(_debug, 1, busyprt, CTLFLAG_RW, &busyprt, 0, ""); #endif int diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index e8e32e66610f..a2c37dfb89f3 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.38 1995/11/12 06:43:07 bde Exp $ + * $Id: vfs_syscalls.c,v 1.39 1995/11/13 08:22:21 bde Exp $ */ #include @@ -316,7 +316,7 @@ dounmount(mp, flags, p) */ #ifdef DIAGNOSTIC int syncprt = 0; -struct ctldebug debug0 = { "syncprt", &syncprt }; +SYSCTL_INT(_debug, 0, syncprt, CTLFLAG_RW, &syncprt, 0, ""); #endif #ifndef _SYS_SYSPROTO_H_