summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
committertmm <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
commit77704f41cdea005959ec441c3728a500a02017d1 (patch)
treecd02bda4841fff2afb84ea98ec890c54e86bfdf5 /sys/kern
parent215c0c107efbdc79c1fc7eb07321d5285fc338d2 (diff)
downloadFreeBSD-src-77704f41cdea005959ec441c3728a500a02017d1.zip
FreeBSD-src-77704f41cdea005959ec441c3728a500a02017d1.tar.gz
Export the head structure for the device statistics STAILQ in
sys/devicestat.h, so that the queue can be walked in crashdumps using libkvm.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_devstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 3c15b43..8831a2f 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -41,7 +41,7 @@ static long devstat_generation;
static int devstat_version = DEVSTAT_VERSION;
static int devstat_current_devnumber;
-static STAILQ_HEAD(devstatlist, devstat) device_statq;
+static struct devstatlist device_statq;
/*
* Take a malloced and zeroed devstat structure given to us, fill it in
OpenPOWER on IntegriCloud