summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_procnet.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_procnet.cc')
-rw-r--r--winsup/cygwin/fhandler_procnet.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/fhandler_procnet.cc b/winsup/cygwin/fhandler_procnet.cc
index 82c5f0a84..f9fd94707 100644
--- a/winsup/cygwin/fhandler_procnet.cc
+++ b/winsup/cygwin/fhandler_procnet.cc
@@ -260,14 +260,14 @@ format_procnet_ifinet6 (char *&filebuf)
filesize += sprintf (filebuf + filesize, "%04x",
ntohs (sin6->sin6_addr.s6_addr16[i]));
filebuf[filesize++] = ' ';
- filesize += __small_sprintf (filebuf + filesize,
- "%02x %02x %02x %02x %s\n",
- pap->IfIndex ?: pap->Ipv6IfIndex,
- ip_addr_prefix (pua, pap->FirstPrefix),
- ((struct sockaddr_in6 *)
- pua->Address.lpSockaddr)->sin6_scope_id,
- pua->DadState,
- pap->AdapterName);
+ filesize += sprintf (filebuf + filesize,
+ "%02lx %02x %02x %02x %s\n",
+ pap->IfIndex ?: pap->Ipv6IfIndex,
+ ip_addr_prefix (pua, pap->FirstPrefix),
+ ((struct sockaddr_in6 *)
+ pua->Address.lpSockaddr)->sin6_scope_id,
+ pua->DadState,
+ pap->AdapterName);
}
out: