mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
diff: eliminate a useless lseek
fdopen with the "r" already position the stream at the beginning of the file.
This commit is contained in:
parent
c440e7870a
commit
fa977a3b2b
1 changed files with 0 additions and 1 deletions
|
|
@ -491,7 +491,6 @@ opentemp(const char *f)
|
|||
}
|
||||
}
|
||||
close(ifd);
|
||||
lseek(ofd, (off_t)0, SEEK_SET);
|
||||
return (fdopen(ofd, "r"));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue