summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2018-10-13 01:02:30 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-10-13 02:17:06 +0200
commit5c723a57ebf09047b0fad0adab0f99c20e1b7d99 (patch)
treecf7a77a1d1c3b6743360da0f2139f657d8934177 /session.c
parent725a2ca11e4c5d91dc8a7c33e81c0db1f1804994 (diff)
downloadlibsigrokdecode-5c723a57ebf09047b0fad0adab0f99c20e1b7d99.tar.gz
libsigrokdecode-5c723a57ebf09047b0fad0adab0f99c20e1b7d99.zip
log: Use human-readable output type name everywhere.
Diffstat (limited to 'session.c')
-rw-r--r--session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/session.c b/session.c
index 36b5005..73fdc08 100644
--- a/session.c
+++ b/session.c
@@ -372,7 +372,8 @@ SRD_API int srd_pd_output_callback_add(struct srd_session *sess,
if (!sess)
return SRD_ERR_ARG;
- srd_dbg("Registering new callback for output type %d.", output_type);
+ srd_dbg("Registering new callback for output type %s.",
+ output_type_name(output_type));
pd_cb = g_malloc(sizeof(struct srd_pd_callback));
pd_cb->output_type = output_type;