From: Uwe Hermann Date: Wed, 29 Aug 2018 22:53:18 +0000 (+0200) Subject: ipdbg-la: Consistently use g_strerror(). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4838c6ca5acbfa9cf6263d6b71846d83e5663833;p=libsigrok.git ipdbg-la: Consistently use g_strerror(). --- diff --git a/src/hardware/ipdbg-la/protocol.c b/src/hardware/ipdbg-la/protocol.c index d02ec737..0ba2d6d6 100644 --- a/src/hardware/ipdbg-la/protocol.c +++ b/src/hardware/ipdbg-la/protocol.c @@ -76,7 +76,7 @@ SR_PRIV int data_available(struct ipdbg_la_tcp *tcp) int status; if (ioctl(tcp->socket, FIONREAD, &status) < 0) { // TIOCMGET - sr_err("FIONREAD failed: %s\n", strerror(errno)); + sr_err("FIONREAD failed: %s\n", g_strerror(errno)); return 0; }