From 49b6183dc0171ac040bdd2faf6f8efa0448567c5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 19 Sep 2020 16:59:38 +0200 Subject: Cleaner variables handling $0 $1 $2 $3 --- src/f_chdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/f_chdir.c') diff --git a/src/f_chdir.c b/src/f_chdir.c index 4623c82..ce69ca5 100644 --- a/src/f_chdir.c +++ b/src/f_chdir.c @@ -23,5 +23,5 @@ void t_msh *msh) { ft_dprintf(STDERR_FILENO, "%s: %s: %s: %s\n", - msh->shname, concern, path, strerror(errno)); + msh->argv[0], concern, path, strerror(errno)); } -- cgit v1.2.3