aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_map_error.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_map_error.c')
-rw-r--r--src/ft_map_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_map_error.c b/src/ft_map_error.c
index 9e34649..b777415 100644
--- a/src/ft_map_error.c
+++ b/src/ft_map_error.c
@@ -20,7 +20,7 @@ int
ft_dprintf(STDERR_FILENO, "Error\n");
ft_dprintf(STDERR_FILENO,
"\033[1;31mMap error: line %lu: %s\033[0m\n",
- clist.mlist.line_chk,
+ clist->mlist.line_chk,
errmsg);
return (ft_exit(4, clist));
}