ft_printfd_fd -> fprintf
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/02/21 21:47:15 by marde-vr #+# #+# */
|
||||
/* Updated: 2024/04/03 15:46:04 by tomoron ### ########.fr */
|
||||
/* Updated: 2024/04/18 17:56:05 by tomoron ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -90,7 +90,7 @@ void get_cmd_path(t_msh *msh)
|
||||
get_path(msh, &found);
|
||||
if (!found)
|
||||
{
|
||||
ft_printf_fd(2, "%s: command not found\n", msh->tokens->value);
|
||||
fprintf(stderr, "%s: command not found\n", msh->tokens->value);
|
||||
free(msh->tokens->value);
|
||||
msh->tokens->value = 0;
|
||||
g_return_code = 127;
|
||||
|
Reference in New Issue
Block a user