git: 5b63afc09a86 - main - watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Oct 2025 07:41:17 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b63afc09a86318fa8bf09a786a1b084e000cc51
commit 5b63afc09a86318fa8bf09a786a1b084e000cc51
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2025-10-01 07:40:31 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2025-10-01 07:40:31 +0000
watchdog: ifdef wd_ioctl_patpat on COMPAT_FREEBSD14
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/dev/watchdog/watchdog.c | 2 ++
1 file changed, 2 insertions(+)
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)