fiptool: print new lines of usage to stdout instead of stderr
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 2 Feb 2017 07:34:14 +0000 (16:34 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 11 Feb 2017 04:00:27 +0000 (13:00 +0900)
commit95d2b2682b54d780c99ab8d8411aac7a55171a8c
treeb3ca26755fee959d5b578c3da77e96cb4229dd1e
parentbab16f9912c6a2ea7600e8d713c1eebf8f0c11d7
fiptool: print new lines of usage to stdout instead of stderr

The strings in usage functions are sent to stdout by printf(),
but some new lines are sent to stderr by fputc(..., stderr).

This inconsistency will break the usage format when users re-direct
stdout or stderr.  Just use printf() for consistency.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/fiptool/fiptool.c