From 4916b17368e8ed06f4bfd045052ab0f891c33954 Mon Sep 17 00:00:00 2001 From: Daniel Elstner Date: Sun, 13 Sep 2015 22:01:34 +0200 Subject: Fix srd_log() format warnings --- decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'decoder.c') diff --git a/decoder.c b/decoder.c index a5341b3..c494413 100644 --- a/decoder.c +++ b/decoder.c @@ -187,8 +187,8 @@ static int get_options(struct srd_decoder *d) return SRD_ERR_PYTHON; } if (!(py_val = PyDict_GetItemString(py_opt, "id"))) { - srd_err("Protocol decoder %s option %d has no " - "id.", d->name); + srd_err("Protocol decoder %s option %zd has no " + "id.", d->name, opt); return SRD_ERR_PYTHON; } o = g_malloc0(sizeof(struct srd_decoder_option)); -- cgit v1.2.3-70-g09d2