From 211b59be431350b2cc6685f5365ad5e6b597dc18 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 23 Jun 2008 16:28:53 +0000 Subject: [PATCH] hush: trivial fix in debug code --- shell/hush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/hush.c b/shell/hush.c index 4d7d14b1a..02eae7d5b 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) { -- 2.25.1