summaryrefslogtreecommitdiffstats
path: root/src/f_fail.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 13:55:12 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-04 13:55:12 +0200
commit48acb01ff5a2cf22adebfc25213c2597911b2fd4 (patch)
treed19162a4fad16be55ea90d7e661866224bdd3de7 /src/f_fail.c
parentExport is working (diff)
download42-minishell-48acb01ff5a2cf22adebfc25213c2597911b2fd4.tar.gz
42-minishell-48acb01ff5a2cf22adebfc25213c2597911b2fd4.tar.bz2
42-minishell-48acb01ff5a2cf22adebfc25213c2597911b2fd4.tar.xz
42-minishell-48acb01ff5a2cf22adebfc25213c2597911b2fd4.tar.zst
42-minishell-48acb01ff5a2cf22adebfc25213c2597911b2fd4.zip
Unset is fine
Diffstat (limited to '')
-rw-r--r--src/f_fail.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/f_fail.c b/src/f_fail.c
index 5e6824f..3704b1f 100644
--- a/src/f_fail.c
+++ b/src/f_fail.c
@@ -36,11 +36,10 @@ void
void
f_fail_identifier(const char concern[],
- const char identifier[],
- t_msh *msh)
+ const char identifier[])
{
- ft_dprintf(STDERR_FILENO, "%s: %s: `%s': not a valid identifier\n",
- msh->shname, concern, identifier);
+ ft_dprintf(STDERR_FILENO, "minishell: %s: `%s': not a valid identifier\n",
+ concern, identifier);
}
void