aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2025-10-01 07:40:31 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2025-10-01 07:40:31 +0000
commit5b63afc09a86318fa8bf09a786a1b084e000cc51 (patch)
treece83cff7cbf5eea51e1fce43d9d8907d28c26a7b
parent4e0997d1d492eb955bb20a970a7fce189269498c (diff)
watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sys/dev/watchdog/watchdog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/watchdog/watchdog.c b/sys/dev/watchdog/watchdog.c
index e1b2e08c3f10..c599db56bf95 100644
--- a/sys/dev/watchdog/watchdog.c
+++ b/sys/dev/watchdog/watchdog.c
@@ -204,6 +204,7 @@ wd_valid_act(int act)
return true;
}
+#ifdef COMPAT_FREEBSD14
static int
wd_ioctl_patpat(caddr_t data)
{
@@ -223,6 +224,7 @@ wd_ioctl_patpat(caddr_t data)
return (wdog_kern_pat(u));
}
+#endif
static int
wd_get_time_left(struct thread *td, time_t *remainp)