Avoid double close() of a file descriptor.

CID:		1006089
Found with:	Coverity Prevent(tm)
MFC after:	1 week
This commit is contained in:
Christian Brueffer 2014-04-13 20:12:21 +00:00
parent 2545695e6a
commit b21e986087
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264419

View File

@ -204,7 +204,6 @@ dump_file(const char *fname)
warnx("%s: this is an ELF program; use objdump to examine", fname);
++error_count;
munmap(objbase, sb.st_size);
close(fd);
return;
}