diff options
author | Daniel Elstner <daniel.kitta@gmail.com> | 2015-09-13 22:01:34 +0200 |
---|---|---|
committer | Daniel Elstner <daniel.kitta@gmail.com> | 2015-09-13 22:01:34 +0200 |
commit | 4916b17368e8ed06f4bfd045052ab0f891c33954 (patch) | |
tree | 0492053ae35ef740839386fad7b68e6bc02d74aa /decoder.c | |
parent | fd4918101e0878be9d399a344511253f5867a646 (diff) | |
download | libsigrokdecode-4916b17368e8ed06f4bfd045052ab0f891c33954.tar.gz libsigrokdecode-4916b17368e8ed06f4bfd045052ab0f891c33954.zip |
Fix srd_log() format warnings
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |