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 1adc34b..0fc073a 100644
--- a/src/ft_map_error.c
+++ b/src/ft_map_error.c
@@ -20,6 +20,6 @@ int
{
ft_dprintf(STDERR_FILENO, "Error\n");
ft_dprintf(STDERR_FILENO,
- "\033[1;31mMap error: line %zu\033[0m\n", clist->line_chk);
+ "\033[1;31mMap error: line %zu\033[0m\n", clist->mlist->line_chk);
return (ft_exit(4, clist));
}