From dea9844db4bf893525d692209d004968e4bf89ad Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Mar 2020 16:03:30 +0100 Subject: Tab --- src/ft_error.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ft_error.c') diff --git a/src/ft_error.c b/src/ft_error.c index b793b96..87be01e 100644 --- a/src/ft_error.c +++ b/src/ft_error.c @@ -15,13 +15,13 @@ #include int - ft_error(const char *errmsg, t_cub *clist) + ft_error(uint8_t retval, const char *errmsg, t_cub *clist) { ft_dprintf(STDERR_FILENO, "Error\n"); ft_dprintf(STDERR_FILENO, "\033[1;31m%s\033[0m\n", errmsg); - return (ft_exit(FT_RET_BMP_ERR, clist)); + return (ft_exit(retval, clist)); } int -- cgit v1.2.3