diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-12 16:50:46 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-12-12 16:50:46 +0100 |
commit | 7d0d45b09ad2beb677ed1a22d37db1e40786519e (patch) | |
tree | 401b33b030a94c1dabac695c0ec188c7d9de43d8 /src/m_minishell.c | |
parent | Removed bloatcode (diff) | |
download | 42-minishell-7d0d45b09ad2beb677ed1a22d37db1e40786519e.tar.gz 42-minishell-7d0d45b09ad2beb677ed1a22d37db1e40786519e.tar.bz2 42-minishell-7d0d45b09ad2beb677ed1a22d37db1e40786519e.tar.xz 42-minishell-7d0d45b09ad2beb677ed1a22d37db1e40786519e.tar.zst 42-minishell-7d0d45b09ad2beb677ed1a22d37db1e40786519e.zip |
Securing mallocs
Diffstat (limited to 'src/m_minishell.c')
-rw-r--r-- | src/m_minishell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_minishell.c b/src/m_minishell.c index 987cfc0..afec0de 100644 --- a/src/m_minishell.c +++ b/src/m_minishell.c @@ -29,7 +29,7 @@ int main(int argc, char *const argv[], char *const envp[]) if ((msh = s_init_msh(argc, argv, envp)) == NULL) { - ft_dprintf(STDERR_FILENO, "%s\n", strerror(errno)); + ft_dprintf(STDERR_FILENO, "minishell: %s\n", strerror(errno)); return (M_RET_ALLOC); } ret = m_argv(argc, argv, msh); |