aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 6ddbbbbf..7a485e78 100644
--- a/interface.c
+++ b/interface.c
@@ -174,7 +174,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo)
*sp = '/';
}
if (socket_fd >= 0)
- close(socket_fd); /* not checking should be safe, mode was "r" */
+ SockClose(close(socket_fd));
if (stats_file)
fclose(stats_file); /* not checking should be safe, mode was "r" */
return(result);