git: 6854a1488932 - main - cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 17:14:47 UTC
The branch main has been updated by zlei:
URL: https://cgit.FreeBSD.org/src/commit/?id=6854a1488932cd043da940b87eb956d6df7d8522
commit 6854a1488932cd043da940b87eb956d6df7d8522
Author: Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2024-12-09 17:14:07 +0000
Commit: Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2024-12-09 17:14:07 +0000
cuse: Use NULL for SYSUNINIT's last arg, which is a pointer type
MFC after: 3 days
---
sys/fs/cuse/cuse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index e32154654386..d63a7d4691cf 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -332,7 +332,7 @@ cuse_kern_uninit(void *arg)
mtx_destroy(&cuse_global_mtx);
}
-SYSUNINIT(cuse_kern_uninit, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_uninit, 0);
+SYSUNINIT(cuse_kern_uninit, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_uninit, NULL);
static int
cuse_server_get(struct cuse_server **ppcs)