diff options
author | Brandon Maier <brandon.maier@collins.com> | 2022-11-02 17:47:54 -0500 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-11-07 08:24:36 +0100 |
commit | 345c5bde41fc1238a3f3b9b1a52e30ec7ab99b6e (patch) | |
tree | 9c5dcaccf6b4996e47328fe7f8dfb5d6d3be2846 /misc-utils/fectest.c | |
parent | 516ba62c6699b1b2d1323013161692d46ae0cbcb (diff) |
misc-utils: flashcp: simplify logging
Most of the uses of log_printf fall into two styles
> if (flags & FLAG_VERBOSE)
> log_printf(LOG_NORMAL, ...);
or
> log_printf(LOG_ERROR, ...)
> exit(EXIT_FAILURE);
Replace them with log_verbose and log_failure respectively.
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'misc-utils/fectest.c')
0 files changed, 0 insertions, 0 deletions