From 90dc7889825d13290955d0eb7e1fb4388c0a0135 Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Tue, 3 Jan 2023 19:22:21 +0200 Subject: fix signature of ipmi_shutdown_event The function had a signature of watchdog_fn while in fact it is used as shutdown_fn. --- sys/dev/ipmi/ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ipmi') diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c index c9ebb5aab2bc..06b0760b002c 100644 --- a/sys/dev/ipmi/ipmi.c +++ b/sys/dev/ipmi/ipmi.c @@ -753,7 +753,7 @@ ipmi_wd_event(void *arg, unsigned int cmd, int *error) } static void -ipmi_shutdown_event(void *arg, unsigned int cmd, int *error) +ipmi_shutdown_event(void *arg, int howto) { struct ipmi_softc *sc = arg; -- cgit v1.3