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:
parent
f0de463732
commit
527e468fc9
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user