diff options
Diffstat (limited to 'src/m_minishell.c')
-rw-r--r-- | src/m_minishell.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/m_minishell.c b/src/m_minishell.c index 6be605a..aac3af7 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -23,15 +23,12 @@ #include "s_init.h" #include "s_destroy.h" -int - main(int argc, - char *const argv[], - char *const envp[]) +int main(int argc, char *const argv[], char *const envp[]) { int32_t ret; t_msh *msh; - if ((msh = init_msh(argv, envp)) == NULL) + if ((msh = init_msh(argc, argv, envp)) == NULL) { ft_dprintf(STDERR_FILENO, "%s\n", strerror(errno)); return (FT_RET_ALLOC); |