diff: eliminate a useless lseek

fdopen with the "r" already position the stream at the beginning
of the file.
This commit is contained in:
Baptiste Daroussin 2021-01-26 11:42:20 +01:00
parent c440e7870a
commit fa977a3b2b

View File

@ -491,7 +491,6 @@ opentemp(const char *f)
}
}
close(ifd);
lseek(ofd, (off_t)0, SEEK_SET);
return (fdopen(ofd, "r"));
}