From 1686093e7897d902405bb818eadcf6d52e00e0d0 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 17 May 2020 20:16:44 +0200 Subject: [PATCH] nwztools/scsitool: tweak output Change-Id: I43c5101502f3d2c34296b510b738276fd74f9b3d --- utils/nwztools/scsitools/scsitool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c index b40c6be243..024a845596 100644 --- a/utils/nwztools/scsitools/scsitool.c +++ b/utils/nwztools/scsitools/scsitool.c @@ -293,7 +293,7 @@ int get_dnk_prop(int argc, char **argv) } else { - printf(YELLOW, "\n"); + cprintf(YELLOW, "\n"); print_hex(buffer, buffer_size); } return 0; @@ -851,6 +851,7 @@ int do_dest(int argc, char **argv) ret = read_nvp_node(shp_index, shp, &size); if(ret != 0) { + printf("Cannot read node 'shp'\n"); free(shp); return ret; }