From: Uwe Hermann Date: Wed, 8 Feb 2012 18:52:43 +0000 (+0100) Subject: srd: More consistent log related function names. X-Git-Tag: sigrok-cli-0.3.0~42 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f84f2fe0f99a5dfe3043589252d1069c7cdf5e5d;p=sigrok-cli.git srd: More consistent log related function names. Also, fix typos, constify some parameters, add more Doxygen comments. --- diff --git a/sigrok-cli.c b/sigrok-cli.c index a13caad..15bad14 100644 --- 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; }