mirror of
https://repo.or.cz/socat.git
synced 2025-07-15 07:33:25 +00:00
corrected some message formats
This commit is contained in:
parent
4c9898446d
commit
97db9bce50
3 changed files with 3 additions and 3 deletions
2
hostan.c
2
hostan.c
|
@ -67,7 +67,7 @@ static int iffan(FILE *outfile) {
|
|||
strcpy(ifr.ifr_name, ifp->ifr_name);
|
||||
if (Ioctl(s, SIOCGIFINDEX, &ifr) < 0) {
|
||||
Error3("ioctl(%d, SIOCGIFINDEX, {\"%s\"}): %s",
|
||||
s, &ifr.ifr_name, strerror(errno));
|
||||
s, ifr.ifr_name, strerror(errno));
|
||||
return 1;
|
||||
}
|
||||
#if HAVE_STRUCT_IFREQ_IFR_INDEX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue