summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-09-28 01:49:47 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-09-28 01:49:47 +0200
commite98f68be9483d1b6abc2f9af0ba5995d42f65e62 (patch)
treec936a09e6f83834bcc89f91db5f3847c7964a64a /common
parentfb34a9a20132216a47c9c91551cec3d7b4ebc0a3 (diff)
downloadu-boot-imx-e98f68be9483d1b6abc2f9af0ba5995d42f65e62.zip
u-boot-imx-e98f68be9483d1b6abc2f9af0ba5995d42f65e62.tar.gz
u-boot-imx-e98f68be9483d1b6abc2f9af0ba5995d42f65e62.tar.bz2
Fix uninitialized variable problem in hush shell
Patch by Lars Rostock, 26 Sep 2005
Diffstat (limited to 'common')
-rw-r--r--common/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/hush.c b/common/hush.c
index eb7f7f1..c10b117 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -2389,6 +2389,7 @@ struct pipe *new_pipe(void) {
pi->progs = NULL;
pi->next = NULL;
pi->followup = 0; /* invalid */
+ pi->r_mode = RES_NONE;
return pi;
}