projects
/
sigrok-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba77cdd
)
srd: More consistent log related function names.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Wed, 8 Feb 2012 18:52:43 +0000
(19:52 +0100)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Fri, 10 Feb 2012 08:30:40 +0000
(09:30 +0100)
Also, fix typos, constify some parameters, add more Doxygen comments.
sigrok-cli.c
patch
|
blob
|
history
diff --git
a/sigrok-cli.c
b/sigrok-cli.c
index a13caad4ca6a072f5b932d5f01f3e134c146b78c..15bad14f7f16d865e1589aa2ff22b178c7173223 100644
(file)
--- a/
sigrok-cli.c
+++ b/
sigrok-cli.c
@@
-993,8
+993,8
@@
int main(int argc, char **argv)
}
/* Set the loglevel (amount of messages to output) for libsigrokdecode. */
- if (srd_
set_loglevel
(opt_loglevel) != SRD_OK) {
- fprintf(stderr, "cli: %s: srd_
set_loglevel
(%d) failed\n",
+ if (srd_
log_loglevel_set
(opt_loglevel) != SRD_OK) {
+ fprintf(stderr, "cli: %s: srd_
log_loglevel_set
(%d) failed\n",
__func__, opt_loglevel);
return 1;
}