summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-23 16:28:53 +0000
committerDenis Vlasenko2008-06-23 16:28:53 +0000
commit211b59be431350b2cc6685f5365ad5e6b597dc18 (patch)
tree6903efecb79a78fe1606cbdb48248a8b4fda7b1f
parent2f5d0cd5117e4b395e7eab19d1a9727d6c921d49 (diff)
downloadbusybox-211b59be431350b2cc6685f5365ad5e6b597dc18.zip
busybox-211b59be431350b2cc6685f5365ad5e6b597dc18.tar.gz
hush: trivial fix in debug code
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 4d7d14b..02eae7d 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2249,7 +2249,7 @@ static int free_pipe(struct pipe *pi, int indent)
debug_printf_clean("%s (nil)\n", indenter(indent));
}
for (r = child->redirects; r; r = rnext) {
- debug_printf_clean("%s redirect %d%s", indenter(indent), r->fd, redir_table[r->type].descrip);
+ debug_printf_clean("%s redirect %d%s", indenter(indent), r->fd, redir_table[r->rd_type].descrip);
if (r->dup == -1) {
/* guard against the case >$FOO, where foo is unset or blank */
if (r->rd_filename) {