SIEG HIEL

This commit is contained in:
Etienne Rey-bethbeder 2023-02-28 14:53:56 +01:00
parent 00dc583ff8
commit da75bdbf72

View File

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/02/24 10:17:59 by erey-bet #+# #+# */
/* Updated: 2023/02/28 14:50:24 by erey-bet ### ########.fr */
/* Updated: 2023/02/28 14:53:35 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
@ -18,7 +18,7 @@ static int error(int err, char *reason, char *problem, int fd)
if (problem != NULL)
{
ft_putstr_fd(problem, 2);
write(fd, ": ", 2);
write(2, ": ", 3);
}
ft_putstr_fd(reason, 2);
return (err);