git: 90dc7889825d - main - fix signature of ipmi_shutdown_event

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Sun, 28 Jan 2024 12:44:40 UTC
The branch main has been updated by avg:

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

commit 90dc7889825d13290955d0eb7e1fb4388c0a0135
Author:     Andriy Gapon <avg@FreeBSD.org>
AuthorDate: 2023-01-03 17:22:21 +0000
Commit:     Andriy Gapon <avg@FreeBSD.org>
CommitDate: 2024-01-28 12:44:13 +0000

    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(-)

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;