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 committed Jan 31, 2024
1 parent bdb2f3d commit 6ad613a
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 6ad613a

Please sign in to comment.