From 1d7f6048f49df863d0b491faa3a39e206290848c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 9 Jan 2017 22:15:53 +0100 Subject: nwztools: add a "reset all settings" message in dest_tool Users can't read the wiki instructions, hopefully they can read this... Change-Id: I3840879fdc663fb6e7f9234f352eea04a556256a --- utils/nwztools/scsitools/scsitool.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/nwztools/scsitools') diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c index 46951fdbbb..e6051067b7 100644 --- a/utils/nwztools/scsitools/scsitool.c +++ b/utils/nwztools/scsitools/scsitool.c @@ -801,6 +801,10 @@ int do_dest(int argc, char **argv) set_little_endian32(shp + 4, sps); int ret = write_nvp_node(shp_index, shp, size); free(shp); + if(ret != 0) + printf("An error occured when writing node: %d\n", ret); + else + printf("Destination successfully changed.\nPlease RESET ALL SETTINGS on your device!\n"); return ret; } return 0; -- cgit v1.2.3