From 4838c6ca5acbfa9cf6263d6b71846d83e5663833 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 30 Aug 2018 00:53:18 +0200 Subject: [PATCH] ipdbg-la: Consistently use g_strerror(). --- src/hardware/ipdbg-la/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }