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