diff --git a/osx.c b/osx.c index 9b1e16d..264ad3a 100644 --- a/osx.c +++ b/osx.c @@ -85,7 +85,7 @@ static int flocking(FILE *fh, int mode, __int64 ofs, __int64 len) } _lock_file(fh); - if (_fseeki64_nolock(fh, ofs, SEEK_SET) != 0) + if (_fseeki64(fh, ofs, SEEK_SET) != 0) goto fail; if (len == 0) {