{
if (setsockopt (g_socket_get_fd (sock->fileno), IPPROTO_IP,
IP_TOS, (const char *) &tos, sizeof (tos)) < 0) {
- nice_debug ("Agent %p: Could not set socket ToS", agent,
+ nice_debug ("Agent %p: Could not set socket ToS: %s", agent,
g_strerror (errno));
}
#ifdef IPV6_TCLASS
if (setsockopt (g_socket_get_fd (sock->fileno), IPPROTO_IPV6,
IPV6_TCLASS, (const char *) &tos, sizeof (tos)) < 0) {
- nice_debug ("Agent %p: Could not set IPV6 socket ToS", agent,
+ nice_debug ("Agent %p: Could not set IPV6 socket ToS: %s", agent,
g_strerror (errno));
}
#endif