diff options
Diffstat (limited to 'src/execline/heredoc.c')
-rw-r--r-- | src/execline/heredoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/heredoc.c b/src/execline/heredoc.c index 2e12451..77e69da 100644 --- a/src/execline/heredoc.c +++ b/src/execline/heredoc.c @@ -52,7 +52,7 @@ int main (int argc, char const *const *argv, char const *const *envp) } } fd_close(fd[1]) ; - if (fd_move((int)fdr, fd[0]) == -1) + if (fd_move(fdr, fd[0]) == -1) strerr_diefu2sys(111, "read on fd ", argv[0]) ; } pathexec_run(argv[2], argv+2, envp) ; |