ipdbg-la: Consistently use g_strerror().
This commit is contained in:
parent
fac36d0a77
commit
4838c6ca5a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue