summaryrefslogtreecommitdiffstats
path: root/libc/inet/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/if_index.c')
-rw-r--r--libc/inet/if_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/if_index.c b/libc/inet/if_index.c
index c249ad94f..8efcd2a76 100644
--- a/libc/inet/if_index.c
+++ b/libc/inet/if_index.c
@@ -54,7 +54,7 @@ if_nametoindex(const char* ifname)
strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
if (ioctl (fd, SIOCGIFINDEX, &ifr) < 0)
{
- /* close never fails here, fd is just a unconnected socket
+ /* close never fails here, fd is just a unconnected socket.
*int saved_errno = errno; */
close_not_cancel_no_status(fd);
/*if (saved_errno == EINVAL)