summaryrefslogtreecommitdiffstats
path: root/src/b_pwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_pwd.c')
-rw-r--r--src/b_pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/b_pwd.c b/src/b_pwd.c
index 5e4209e..e3da005 100644
--- a/src/b_pwd.c
+++ b/src/b_pwd.c
@@ -34,7 +34,7 @@ uint8_t
return (0);
}
if ((cwd = ft_strdup(msh->cwd)) == NULL)
- f_fail_alloc_and_destroy(msh);
+ f_alloc_and_destroy_msh(msh);
ft_printf("%s\n", cwd);
ft_memdel((void*)&cwd);
return (0);