git: e009f28ea46d - stable/14 - fix signature of ipmi_shutdown_event

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sat, 17 Feb 2024 15:12:25 UTC
The branch stable/14 has been updated by avg:

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

commit e009f28ea46d7a14f374ce42062b29ce28d564c0
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2023-01-03 17:22:21 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2024-02-17 14:15:11 +0000

    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 262c24051025..3f66c3c199e3 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;