Remove an incorrect close(2) call that was added in r271413.

Reported by:	Coverity
CID:		1238923
X-MFC-With:	r271413
This commit is contained in:
Mark Johnston 2014-09-22 21:09:30 +00:00
parent f0de463732
commit 527e468fc9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272003

View File

@ -1819,7 +1819,6 @@ dtrace_program_link(dtrace_hdl_t *dtp, dtrace_prog_t *pgp, uint_t dflags,
"failed to write %s: %s", file, strerror(errno)));
}
#else
(void)close(fd);
if (status != 0)
return (dt_link_error(dtp, NULL, -1, NULL,
"failed to write %s: %s", tfile,