summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/syscnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/syscnt.h b/kern/syscnt.h
index ff9cedbb..fef8115c 100644
--- a/kern/syscnt.h
+++ b/kern/syscnt.h
@@ -84,7 +84,7 @@ syscnt_add(struct syscnt *syscnt, int64_t delta)
}
static inline uint64_t
-syscnt_read(const struct syscnt *syscnt)
+syscnt_read(struct syscnt *syscnt)
{
unsigned long flags;
uint64_t value;