diff options
| author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-09 22:15:53 +0100 |
|---|---|---|
| committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-09 22:15:53 +0100 |
| commit | 1d7f6048f49df863d0b491faa3a39e206290848c (patch) | |
| tree | 20ec9ba5f542cac54e7d5aeab6023a71a98f1373 /utils | |
| parent | 90284b6fe0e5ba89fe63943212bfd7ffc3e96d47 (diff) | |
| download | rockbox-1d7f6048f49df863d0b491faa3a39e206290848c.zip rockbox-1d7f6048f49df863d0b491faa3a39e206290848c.tar.gz rockbox-1d7f6048f49df863d0b491faa3a39e206290848c.tar.bz2 rockbox-1d7f6048f49df863d0b491faa3a39e206290848c.tar.xz | |
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
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/nwztools/scsitools/scsitool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c index 46951fd..e605106 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; |