summaryrefslogtreecommitdiffstats
path: root/sbin/restore/symtab.c
diff options
context:
space:
mode:
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