ipdbg-la: Consistently use g_strerror().

This commit is contained in:
Uwe Hermann 2018-08-30 00:53:18 +02:00
parent fac36d0a77
commit 4838c6ca5a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}