Adapt fdtab 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
#endif /* CONFIG_LIBPOSIX_PROCESS_EXECVE */
/* Cleanup all leftover open fds in the initial fdtab */
-static void term_posix_fdtab(const struct uk_term_ctx *tctx __unused)
+static void term_posix_fdtab(struct uk_term_ctx *tctx __unused)
{
fdtab_cleanup(&init_fdtab, 1);
}