diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-06 01:34:41 +0100 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-08 20:10:10 +0100 |
commit | 9e3e10c725360b9d07018cfcd5b7b6b7d325fae5 (patch) | |
tree | c3de9ca1974443fb36319e74ac0b7b893a3a39eb /scripts/kconfig/expr.c | |
parent | kconfig: echo stdin to stdout if either is redirected (diff) | |
download | linux-9e3e10c725360b9d07018cfcd5b7b6b7d325fae5.tar.xz linux-9e3e10c725360b9d07018cfcd5b7b6b7d325fae5.zip |
kconfig: send error messages to stderr
These messages should be directed to stderr.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Diffstat (limited to 'scripts/kconfig/expr.c')
-rw-r--r-- | scripts/kconfig/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/expr.c b/scripts/kconfig/expr.c index 2ba332b3fed7..d45381986ac7 100644 --- a/scripts/kconfig/expr.c +++ b/scripts/kconfig/expr.c @@ -94,7 +94,7 @@ struct expr *expr_copy(const struct expr *org) e->right.expr = expr_copy(org->right.expr); break; default: - printf("can't copy type %d\n", e->type); + fprintf(stderr, "can't copy type %d\n", e->type); free(e); e = NULL; break; @@ -127,7 +127,7 @@ void expr_free(struct expr *e) expr_free(e->right.expr); break; default: - printf("how to free type %d?\n", e->type); + fprintf(stderr, "how to free type %d?\n", e->type); break; } free(e); |