Skip to content

Commit

Permalink
serial: Fix misleading error message
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Cercueil <[email protected]>
  • Loading branch information
pcercuei authored and mhennerich committed Mar 11, 2024
1 parent 344cc0f commit 8f019fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ serial_create_buffer(const struct iio_device *dev, unsigned int idx,
dev, idx, mask);
ret = iio_err(buf->pdata);
if (ret) {
dev_perror(dev, ret, "Unable to create IIOD client");
dev_perror(dev, ret, "Unable to create buffer");
free(buf);
return iio_ptr(ret);
}
Expand Down

0 comments on commit 8f019fd

Please sign in to comment.