diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-10-26 13:42:56 +0100 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-10-26 13:42:56 +0100 |
commit | 0277ddfac754ab4ad5bdd2b692e31a717efbe569 (patch) | |
tree | 49d7c5fd3a12248af85e2c3a3254bc1538ae5775 /src/m_minishell.c | |
parent | reqdy for MERGE (diff) | |
parent | TODO update (diff) | |
download | 42-minishell-0277ddfac754ab4ad5bdd2b692e31a717efbe569.tar.gz 42-minishell-0277ddfac754ab4ad5bdd2b692e31a717efbe569.tar.bz2 42-minishell-0277ddfac754ab4ad5bdd2b692e31a717efbe569.tar.xz 42-minishell-0277ddfac754ab4ad5bdd2b692e31a717efbe569.tar.zst 42-minishell-0277ddfac754ab4ad5bdd2b692e31a717efbe569.zip |
merge wif master
Diffstat (limited to '')
-rw-r--r-- | src/m_minishell.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdint.h> #include <unistd.h> #include <string.h> +#include <unistd.h> #include <errno.h> #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); |