git: 01af376bd00c - stable/14 - nfs: Use proper prototype for SYSINIT functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Jan 2026 18:27:56 UTC
The branch stable/14 has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=01af376bd00cb7d367e1c1ec8fc45a6fb8a6f812
commit 01af376bd00cb7d367e1c1ec8fc45a6fb8a6f812
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-10-13 10:12:34 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2026-01-31 18:25:05 +0000
nfs: Use proper prototype for SYSINIT functions
MFC after: 1 week
(cherry picked from commit a06ecc4f70c296f62f666421c3cf9643d40bdca2)
(cherry picked from commit 0e001bef1593c1bcc6c020b0f7a31ce9589ba59e)
---
sys/nfs/nfs_diskless.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/nfs/nfs_diskless.c b/sys/nfs/nfs_diskless.c
index 084cb337cabc..905db128cc1f 100644
--- a/sys/nfs/nfs_diskless.c
+++ b/sys/nfs/nfs_diskless.c
@@ -430,7 +430,7 @@ decode_nfshandle(char *ev, u_char *fh, int maxfh)
#if !defined(BOOTP_NFSROOT)
static void
-nfs_rootconf(void)
+nfs_rootconf(void *dummy __unused)
{
nfs_setup_diskless();