1
0
Fork 0
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:
Gerhard Rieger 2011-12-04 20:51:31 +01:00
parent 4c9898446d
commit 97db9bce50
3 changed files with 3 additions and 3 deletions

View file

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