The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5b63afc09a86318fa8bf09a786a1b084e000cc51

commit 5b63afc09a86318fa8bf09a786a1b084e000cc51
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2025-10-01 07:40:31 +0000
Commit:     Mateusz Guzik <[email protected]>
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)

Reply via email to