aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/watchdog/watchdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/watchdog/watchdog.c')
-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)