From e009f28ea46d7a14f374ce42062b29ce28d564c0 Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Tue, 3 Jan 2023 19:22:21 +0200 Subject: [PATCH] fix signature of ipmi_shutdown_event The function had a signature of watchdog_fn while in fact it is used as shutdown_fn. (cherry picked from commit 90dc7889825d13290955d0eb7e1fb4388c0a0135) --- sys/dev/ipmi/ipmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c index 262c2405102..3f66c3c199e 100644 --- a/sys/dev/ipmi/ipmi.c +++ b/sys/dev/ipmi/ipmi.c @@ -754,7 +754,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;