Private
Public Access
2
0

iio: Add missing parameter in error log output

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka
2021-09-13 08:25:39 +02:00
committed by Tom Ingleby
parent 87c6754f00
commit a54d4499ec

View File

@@ -162,7 +162,7 @@ mraa_iio_get_channel_data(mraa_iio_context dev)
if(chan->bytes <= 0)
{
syslog(LOG_ERR, "iio: Channel %d with channel bytes value <= 0");
syslog(LOG_ERR, "iio: Channel %d with channel bytes value <= 0", i);
return MRAA_IO_SETUP_FAILURE;
}