summaryrefslogtreecommitdiffstats
path: root/libc/inet/if_index.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-10-17 10:54:03 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-10-17 10:54:03 -0700
commitcfb6cb21b3db80dd1ec930165cbc866643cfc2cc (patch)
tree7ca11d05c4246946d7ab9a2f0bae95318d02597f /libc/inet/if_index.c
parent4abe7c1ce9e466a08e3218ce1cb05191f981c284 (diff)
downloaduClibc-alpine-cfb6cb21b3db80dd1ec930165cbc866643cfc2cc.tar.bz2
uClibc-alpine-cfb6cb21b3db80dd1ec930165cbc866643cfc2cc.tar.xz
sync a few trivial changes back to master
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
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)