projects
/
fw
/
stlink
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix error being reported twice
[fw/stlink]
/
src
/
stlink-sg.c
diff --git
a/src/stlink-sg.c
b/src/stlink-sg.c
index bfe41574cf9c31426cc0061cf97b854c4411d4c8..960455bab14c8db61e6b71efa88ff364345b8134 100644
(file)
--- a/
src/stlink-sg.c
+++ b/
src/stlink-sg.c
@@
-980,7
+980,7
@@
stlink_t* stlink_v1_open_inner(const int verbose) {
ugly_init(verbose);
stlink_t *sl = stlink_open(verbose);
if (sl == NULL) {
-
fputs("Error: could not open stlink device\n", stderr
);
+
ELOG("Could not open stlink device\n"
);
return NULL;
}