From 211b59be431350b2cc6685f5365ad5e6b597dc18 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 23 Jun 2008 16:28:53 +0000 Subject: hush: trivial fix in debug code --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/hush.c') 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) { -- cgit v1.1