diff options
author | Doug Zongker <dougz@android.com> | 2013-07-09 12:29:45 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2013-07-09 12:50:24 -0700 |
commit | fafc85b4ad7a5679c6b562bed64460732e05fd1e (patch) | |
tree | 830eb6f87a91e587eac04fa306206d70260ff6c2 /edify/expr.c | |
parent | 602c4ebd393845f3388aea6ecb0c620580a7f332 (diff) | |
download | bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.zip bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.tar.gz bootable_recovery-fafc85b4ad7a5679c6b562bed64460732e05fd1e.tar.bz2 |
recovery: move log output to stdout
Recovery currently has a random mix of messages printed to stdout and
messages printed to stderr, which can make logs hard to read. Move
everything to stdout.
Change-Id: Ie33bd4a9e1272e731302569cdec918e0534c48a6
Diffstat (limited to 'edify/expr.c')
-rw-r--r-- | edify/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edify/expr.c b/edify/expr.c index 07a8ceb..a2f1f99 100644 --- a/edify/expr.c +++ b/edify/expr.c @@ -287,13 +287,13 @@ Value* LessThanIntFn(const char* name, State* state, int argc, Expr* argv[]) { long l_int = strtol(left, &end, 10); if (left[0] == '\0' || *end != '\0') { - fprintf(stderr, "[%s] is not an int\n", left); + printf("[%s] is not an int\n", left); goto done; } long r_int = strtol(right, &end, 10); if (right[0] == '\0' || *end != '\0') { - fprintf(stderr, "[%s] is not an int\n", right); + printf("[%s] is not an int\n", right); goto done; } |