summaryrefslogtreecommitdiffstats
path: root/src/f_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/f_file.c')
-rw-r--r--src/f_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f_file.c b/src/f_file.c
index c26596c..47b9ab6 100644
--- a/src/f_file.c
+++ b/src/f_file.c
@@ -23,7 +23,7 @@ void
f_open_file(char filename[],
t_msh *msh)
{
- ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", msh->shname,
+ ft_dprintf(STDERR_FILENO, "%s: %s: %s\n", msh->argv[0],
filename,
strerror(errno));
s_destroy(msh);