From: Michalis Pappas Date: Sat, 29 Mar 2025 08:27:01 +0000 (+0100) Subject: lib/vfscore: Remove const qualifier from term_ctx X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=8aaae3e79823a9a81967ebe7ac1ddbdabeed04a2;p=unikraft%2Funikraft.git lib/vfscore: Remove const qualifier from term_ctx Adapt vfscore to the updated signature of initab's term_ctx. Signed-off-by: Michalis Pappas Approved-by: Andrei Tatar Reviewed-by: Andrei Tatar GitHub-Closes: #1633 --- diff --git a/lib/vfscore/automount.c b/lib/vfscore/automount.c index 8e78c1f2f..e20987aee 100644 --- a/lib/vfscore/automount.c +++ b/lib/vfscore/automount.c @@ -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;