]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/vfscore: Remove const qualifier from term_ctx
authorMichalis Pappas <michalis@unikraft.io>
Sat, 29 Mar 2025 08:27:01 +0000 (09:27 +0100)
committerUnikraft Bot <monkey@unikraft.io>
Wed, 30 Apr 2025 10:07:29 +0000 (10:07 +0000)
Adapt vfscore to the updated signature of initab's term_ctx.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Approved-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
GitHub-Closes: #1633

lib/vfscore/automount.c

index 8e78c1f2fbb201ba3916818bdaf5b86d8acc654d..e20987aee79ffc25eb5bc4f06317000a43cc5a51 100644 (file)
@@ -864,7 +864,7 @@ static int vfscore_automount_volumes(const struct vfscore_volume *vvs[],
 #endif /* CONFIG_LIBVFSCORE_AUTOMOUNT */
 
 #if CONFIG_LIBVFSCORE_AUTOMOUNT || CONFIG_LIBVFSCORE_AUTOUNMOUNT
-static void vfscore_autoumount(const struct uk_term_ctx *tctx __unused)
+static void vfscore_autoumount(struct uk_term_ctx *tctx __unused)
 {
        struct mount *mp;
        int rc;