summaryrefslogtreecommitdiffhomepage
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-26 13:48:35 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-26 13:48:35 +0000
commit87d5fd984e3e7b26fb15269f44a32ddf6f828fd8 (patch)
tree73e01789a9ae7471e64e3707e17884d35a1d9b75 /shell
parent4e19a9c81a6e0b0608fcae1f1a5adbaa1893a17d (diff)
ash: fix typo
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 5348e9572..1eb29eb95 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7961,7 +7961,7 @@ evaltree(union node *n, int flags)
#if NOR + 1 != NSEMI
#error NOR + 1 != NSEMI
#endif
- unsigned is_or = is_or = n->type - NAND;
+ unsigned is_or = n->type - NAND;
evaltree(
n->nbinary.ch1,
(flags | ((is_or >> 1) - 1)) & EV_TESTED