Unverified Commit be217147 authored by Ozan Tezcan's avatar Ozan Tezcan Committed by GitHub
Browse files

Minor documentation fix (#150)

parent e1569508
...@@ -443,7 +443,7 @@ int app_raft_store_snapshot_impl(raft_server_t *r, ...@@ -443,7 +443,7 @@ int app_raft_store_snapshot_impl(raft_server_t *r,
return -1; return -1;
} }
off_t ret_offset = lseek(fd, offset, SEEK_CUR); off_t ret_offset = lseek(fd, offset, SEEK_SET);
if (ret_offset != (off_t) offset) { if (ret_offset != (off_t) offset) {
close(fd); close(fd);
return -1; return -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment