projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Allow use of global_data with EFI
[oweals/u-boot.git]
/
common
/
cli_hush.c
diff --git
a/common/cli_hush.c
b/common/cli_hush.c
index a07ae717e146cffc1fd7aee850574a8323898f9c..296542f4c2d62b7094694a40c79c7d2fe9fdf545 100644
(file)
--- a/
common/cli_hush.c
+++ b/
common/cli_hush.c
@@
-3162,7
+3162,7
@@
static int parse_stream_outer(struct in_str *inp, int flag)
o_string temp=NULL_O_STRING;
int rcode;
#ifdef __U_BOOT__
o_string temp=NULL_O_STRING;
int rcode;
#ifdef __U_BOOT__
- int code =
0
;
+ int code =
1
;
#endif
do {
ctx.type = flag;
#endif
do {
ctx.type = flag;
@@
-3217,7
+3217,7
@@
static int parse_stream_outer(struct in_str *inp, int flag)
}
b_free(&temp);
/* loop on syntax errors, return on EOF */
}
b_free(&temp);
/* loop on syntax errors, return on EOF */
- } while (rcode != 1 && !(flag & FLAG_EXIT_FROM_LOOP) &&
+ } while (rcode !=
-
1 && !(flag & FLAG_EXIT_FROM_LOOP) &&
(inp->peek != static_peek || b_peek(inp)));
#ifndef __U_BOOT__
return 0;
(inp->peek != static_peek || b_peek(inp)));
#ifndef __U_BOOT__
return 0;