From 880102ae9358db130ef67cc9a7177a1e1de76875 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 17 Jul 2019 19:30:52 +0200 Subject: c10 tail stuff, c11 start, c12/c13 files --- c10/ex01/helper.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c10/ex01/helper.c') diff --git a/c10/ex01/helper.c b/c10/ex01/helper.c index 8a1c13e..a6a9acd 100644 --- a/c10/ex01/helper.c +++ b/c10/ex01/helper.c @@ -6,13 +6,14 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/16 10:14:16 by cacharle #+# #+# */ -/* Updated: 2019/07/16 10:26:44 by cacharle ### ########.fr */ +/* Updated: 2019/07/16 13:42:08 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include #include #include +#include #include "include.h" void ft_putstr_err(char *str) @@ -25,7 +26,7 @@ void handle_error(char *program_name, char *arg) { char *error_msg; - ft_putstr_err(program_name); + ft_putstr_err(basename(program_name)); ft_putstr_err(": "); ft_putstr_err(arg); ft_putstr_err(": "); -- cgit