Git
Wiki
Site
projects
/
soft
/
tools
/
lpctools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e884de
)
Fixing return codes
author
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 16 Apr 2012 17:16:08 +0000
(19:16 +0200)
committer
Nathael Pajani
<nathael.pajani@ed3l.fr>
Mon, 16 Apr 2012 17:16:08 +0000
(19:16 +0200)
isp_commands.c
patch
|
blob
|
history
diff --git
a/isp_commands.c
b/isp_commands.c
index
35ac62a
..
565eeda
100644
(file)
--- a/
isp_commands.c
+++ b/
isp_commands.c
@@
-703,7
+703,7
@@
int isp_cmd_prepare_for_write(int arg_count, char** args)
if (ret != 0) {
printf("Error when trying to prepare sectors for write operation.\n");
- return
-1
;
+ return
ret
;
}
printf("Sectors prepared for write operation.\n");
@@
-716,7
+716,7
@@
int isp_cmd_erase(int arg_count, char** args)
if (ret != 0) {
printf("Error when trying to erase sectors.\n");
- return
-1
;
+ return
ret
;
}
printf("Sectors erased.\n");
@@
-724,7
+724,6
@@
int isp_cmd_erase(int arg_count, char** args)
}
-
/* FIXME : Temporary place-holder */
int isp_cmd_null(int arg_count, char** args)
{
Techno-Innov
42 impasse de la Combe du Bois
01150 Blyes - France
contact@techno-innov.fr
Design et hébergement du site :
Techno-Innov
Techno-Innov
- SARL Coopérative
539 169 417 RCS Bourg-en-Bresse
Ce site n'utilise pas de cookies, désolé pour les gourmands !