summaryrefslogtreecommitdiffstats
path: root/sbin/restore/symtab.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-05-09 17:39:11 -0300
committerRenato Botelho <renato@netgate.com>2016-05-09 17:39:11 -0300
commiteb1aa95459d780e1328d821fd6af261c2221a62b (patch)
treed0c75db0de1902022252ffee3acbfe775366214c /sbin/restore/symtab.c
parent4a578420216361b8acfb7296dd0b68c805e5121b (diff)
parent1708fafa25d9413ab466d3670d803e2ebf885d45 (diff)
downloadFreeBSD-src-eb1aa95459d780e1328d821fd6af261c2221a62b.zip
FreeBSD-src-eb1aa95459d780e1328d821fd6af261c2221a62b.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sbin/restore/symtab.c')
-rw-r--r--sbin/restore/symtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/restore/symtab.c b/sbin/restore/symtab.c
index 9d0313d..17bd642 100644
--- a/sbin/restore/symtab.c
+++ b/sbin/restore/symtab.c
@@ -560,6 +560,7 @@ initsymtable(char *filename)
fprintf(stderr, "read: %s\n", strerror(errno));
panic("cannot read symbol table file %s\n", filename);
}
+ (void)close(fd);
switch (command) {
case 'r':
/*
OpenPOWER on IntegriCloud