mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-12-22 17:01:46 +00:00
Fixed Debug text.
This commit is contained in:
parent
0150e04c01
commit
b48ef3560f
@ -1117,7 +1117,9 @@ inet_sendto(int s, const void *msg, size_t len, int flags,
|
||||
len-(len/2), flags, to, tolen);
|
||||
break;
|
||||
case EFAULT:
|
||||
error("The value of to is: %d and %s", to, strerror(errno));
|
||||
error("To Family is: %hu "
|
||||
"To Data is: %s "
|
||||
"and: %s", to->sa_family, to->sa_data, strerror(errno));
|
||||
default:
|
||||
error("inet_sendto: Cannot send(): %s", strerror(errno));
|
||||
return err;
|
||||
|
Loading…
Reference in New Issue
Block a user