From eeed81169f15bfde49ac6706ec6fdd8fe607e86f Mon Sep 17 00:00:00 2001 From: jilles Date: Fri, 14 Mar 2014 21:45:37 +0000 Subject: sh: Add some consts. --- bin/sh/redir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/sh/redir.c') 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; -- cgit v1.1