MFC: r264419

Avoid double close() of a file descriptor.

CID:		1006089
Found with:	Coverity Prevent(tm)
This commit is contained in:
Christian Brueffer 2014-04-22 21:25:03 +00:00
parent e22552c902
commit 1f28145fba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=264785

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;
}