iio: Add missing parameter in error log output
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
@@ -162,7 +162,7 @@ mraa_iio_get_channel_data(mraa_iio_context dev)
|
|||||||
|
|
||||||
if(chan->bytes <= 0)
|
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;
|
return MRAA_IO_SETUP_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user