summaryrefslogtreecommitdiffstats
path: root/src/f_redir.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/f_redir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/f_redir.c b/src/f_redir.c
index 3561272..71e5613 100644
--- a/src/f_redir.c
+++ b/src/f_redir.c
@@ -16,7 +16,7 @@
#include <unistd.h>
#include <errno.h>
-#include "s_lcom.h"
+#include "s_line.h"
#include "s_destroy.h"
void
@@ -25,7 +25,7 @@ void
{
ft_dprintf(STDERR_FILENO, "%s: %s: %s\n",
msh->shname, path, strerror(errno));
- lcom_clear(&msh->curr);
+ s_line_clear(&msh->curr);
s_destroy(msh);
exit(1);
}