summaryrefslogtreecommitdiff
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-10-24 00:02:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-10-24 00:02:26 +0000
commit86f001bfc9d72dca56006e588f2fcf48ccc7744c (patch)
tree8771a1a234d16b31f734fb100d837342aed2afb6 /sys/kern/kern_tc.c
parenta865bc42b5d7890c414bf76c6382bc8424fc5e8e (diff)
use NULL not 0 for pointer values in kern
ok semarie@
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r--sys/kern/kern_tc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 69a4a3b19db..3d35064ece1 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_tc.c,v 1.74 2021/06/19 13:49:39 cheloha Exp $ */
+/* $OpenBSD: kern_tc.c,v 1.75 2021/10/24 00:02:25 jsg Exp $ */
/*
* Copyright (c) 2000 Poul-Henning Kamp <phk@FreeBSD.org>
@@ -56,7 +56,7 @@ dummy_get_timecount(struct timecounter *tc)
static struct timecounter dummy_timecounter = {
.tc_get_timecount = dummy_get_timecount,
- .tc_poll_pps = 0,
+ .tc_poll_pps = NULL,
.tc_counter_mask = ~0u,
.tc_frequency = 1000000,
.tc_name = "dummy",