summaryrefslogtreecommitdiff
path: root/sys/kern/kern_smr.c
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-11-24 13:17:38 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-11-24 13:17:38 +0000
commitdc22a1c1f1348debf3df88ffe0bee329d5168ee9 (patch)
tree45de7a24a1e64cf0ded181ed278fff0e51a14b74 /sys/kern/kern_smr.c
parent91f12620aee74f8323c1d7da2c2202629e898f89 (diff)
Fix type of count.
Diffstat (limited to 'sys/kern/kern_smr.c')
-rw-r--r--sys/kern/kern_smr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_smr.c b/sys/kern/kern_smr.c
index 6152ce0f6da..d85941093c2 100644
--- a/sys/kern/kern_smr.c
+++ b/sys/kern/kern_smr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_smr.c,v 1.14 2021/11/24 13:16:00 visa Exp $ */
+/* $OpenBSD: kern_smr.c,v 1.15 2021/11/24 13:17:37 visa Exp $ */
/*
* Copyright (c) 2019-2020 Visa Hankala
@@ -85,7 +85,7 @@ smr_thread(void *arg)
struct timeval elapsed, end, loglast, start;
struct smr_entry_list deferred;
struct smr_entry *smr;
- size_t count;
+ unsigned long count;
KERNEL_ASSERT_LOCKED();
KERNEL_UNLOCK();