diff options
Diffstat (limited to 'bin/sh/redir.c')
-rw-r--r-- | bin/sh/redir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c index 79728a0..647b10a 100644 --- a/bin/sh/redir.c +++ b/bin/sh/redir.c @@ -152,7 +152,7 @@ openredirect(union node *redir, char memory[10]) { struct stat sb; int fd = redir->nfile.fd; - char *fname; + const char *fname; int f; int e; @@ -250,7 +250,7 @@ movefd: static int openhere(union node *redir) { - char *p; + const char *p; int pip[2]; size_t len = 0; int flags; |