From 7119b7bfe6d9f7412aac9bf55280610aca1b2b92 Mon Sep 17 00:00:00 2001 From: jhb Date: Sun, 26 Jan 2020 14:23:27 +0000 Subject: [PATCH] Revert accidental change from r357146. --- sys/kern/subr_stats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/kern/subr_stats.c b/sys/kern/subr_stats.c index 6181cf7bad74..a212f739deca 100644 --- a/sys/kern/subr_stats.c +++ b/sys/kern/subr_stats.c @@ -1583,7 +1583,9 @@ stats_v1_blob_iter(struct statsblobv1 *sb, stats_v1_blob_itercb_t icb, int i, j, firstvoi; ctx.usrctx = usrctx; - ctx.flags = SB_IT_FIRST_CB; + ctx.flags |= SB_IT_FIRST_CB; + ctx.flags &= ~(SB_IT_FIRST_VOI | SB_IT_LAST_VOI | SB_IT_FIRST_VOISTAT | + SB_IT_LAST_VOISTAT); firstvoi = 1; for (i = 0; i < NVOIS(sb); i++) {