Merge branch 'master' of git.chauvet.pro:starnakin/minishell
This commit is contained in:
		| @ -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); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user