summaryrefslogtreecommitdiff
path: root/tests/unittests/sysfs_mock/class/mtd/mtd0/oobavail
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@collins.com>2022-11-02 17:47:54 -0500
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2022-11-07 08:24:36 +0100
commit345c5bde41fc1238a3f3b9b1a52e30ec7ab99b6e (patch)
tree9c5dcaccf6b4996e47328fe7f8dfb5d6d3be2846 /tests/unittests/sysfs_mock/class/mtd/mtd0/oobavail
parent516ba62c6699b1b2d1323013161692d46ae0cbcb (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 'tests/unittests/sysfs_mock/class/mtd/mtd0/oobavail')
0 files changed, 0 insertions, 0 deletions