summaryrefslogtreecommitdiffstats
path: root/src/m_mshrc.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:39:11 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:39:11 +0200
commit64364316125af2831cf448cc27bcbfc531e9c271 (patch)
tree73a7213d11627ac8dc1490070e6bafd5c7b55932 /src/m_mshrc.c
parentNormed d_define (diff)
download42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.gz
42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.bz2
42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.xz
42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.zst
42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.zip
Names update
Diffstat (limited to 'src/m_mshrc.c')
-rw-r--r--src/m_mshrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_mshrc.c b/src/m_mshrc.c
index 5b1277e..40e14a1 100644
--- a/src/m_mshrc.c
+++ b/src/m_mshrc.c
@@ -30,7 +30,7 @@ uint8_t m_source_mshrc(t_msh *msh)
uint8_t ret;
u_get_var_value(home, "$HOME", PATH_MAX, msh);
- ft_sprintf(file, "%s/%s", home, FT_MINISHELLRC);
+ ft_sprintf(file, "%s/%s", home, M_MINISHELLRC);
if ((fd = open(file, O_RDONLY)) < 0)
return (0);
msh->fd = fd;