summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-10-06 18:31:11 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-10-06 18:31:11 +0200
commit2f3801be3426c5cd743f237ec92b8feb9b5f0344 (patch)
treebea75aae4a1854629ca4be721a2ec5afc91fd89f /utils
parentd9da4833a7b7d3c16285809d6a42eebf90576d44 (diff)
downloadrockbox-2f3801be3426c5cd743f237ec92b8feb9b5f0344.tar.gz
rockbox-2f3801be3426c5cd743f237ec92b8feb9b5f0344.zip
fix typo
Change-Id: Ic357f82d61cc0004ac6193fa9dbbc90976042574
Diffstat (limited to 'utils')
-rw-r--r--utils/nwztools/scsitools/scsitool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/nwztools/scsitools/scsitool.c b/utils/nwztools/scsitools/scsitool.c
index 236c2f5133..5a359177dd 100644
--- a/utils/nwztools/scsitools/scsitool.c
+++ b/utils/nwztools/scsitools/scsitool.c
@@ -308,13 +308,13 @@ int get_model_id(unsigned long *model_id)
308 if(ret) 308 if(ret)
309 { 309 {
310 cprintf(RED, "Cannot get model ID from device: %d\n", ret); 310 cprintf(RED, "Cannot get model ID from device: %d\n", ret);
311 cprintf(RED, "You device is most likely not compatible with this tool.\n"); 311 cprintf(RED, "Your device is most likely not compatible with this tool.\n");
312 return 2; 312 return 2;
313 } 313 }
314 if(mid_buf_size != sizeof(mid_buf)) 314 if(mid_buf_size != sizeof(mid_buf))
315 { 315 {
316 cprintf(RED, "Cannot get model ID from device: device didn't send the expected amount of data\n"); 316 cprintf(RED, "Cannot get model ID from device: device didn't send the expected amount of data\n");
317 cprintf(RED, "You device is most likely not compatible with this tool.\n"); 317 cprintf(RED, "Your device is most likely not compatible with this tool.\n");
318 return 3; 318 return 3;
319 } 319 }
320 *model_id = get_big_endian32(&mid_buf); 320 *model_id = get_big_endian32(&mid_buf);