summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:34:30 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-28 01:34:30 +0100
commit18fdbf4399446c2a0cb72fc0c33d664a9eecde64 (patch)
tree3b7fa06afe5feb5cadd2e1e27d693a3c0713d135
parentNormed (diff)
download42-minishell-18fdbf4399446c2a0cb72fc0c33d664a9eecde64.tar.gz
42-minishell-18fdbf4399446c2a0cb72fc0c33d664a9eecde64.tar.bz2
42-minishell-18fdbf4399446c2a0cb72fc0c33d664a9eecde64.tar.xz
42-minishell-18fdbf4399446c2a0cb72fc0c33d664a9eecde64.tar.zst
42-minishell-18fdbf4399446c2a0cb72fc0c33d664a9eecde64.zip
Now normed
-rw-r--r--src/p_redirs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_redirs.c b/src/p_redirs.c
index fc26a6e..6ea1e19 100644
--- a/src/p_redirs.c
+++ b/src/p_redirs.c
@@ -117,7 +117,7 @@ static unsigned char p_get_redir(char word[],
struct s_rdr_tmp tmp;
char path[PATH_MAX];
size_t pos[2];
- int fd_rdr[2];
+ int fd_rdr[2];
pos[0] = 0;
if ((fd_rdr[FD] = p_get_fd(word, ptr)) == -1)