From c68b7637d42fac3986857685980e7a7090f5a5aa Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 9 Sep 2020 16:17:52 +0200 Subject: In progress --- src/m_minishell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/m_minishell.c') diff --git a/src/m_minishell.c b/src/m_minishell.c index a538041..6be605a 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include "f_fail.h" @@ -32,7 +33,7 @@ int if ((msh = init_msh(argv, envp)) == NULL) { - ft_dprintf(2, "%s\n", strerror(errno)); + ft_dprintf(STDERR_FILENO, "%s\n", strerror(errno)); return (FT_RET_ALLOC); } ret = m_argv(argc, argv, msh); -- cgit v1.2.3