Skip to content

Commit be21714

Browse files
authored
Minor documentation fix (#150)
1 parent e156950 commit be21714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Using.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ int app_raft_store_snapshot_impl(raft_server_t *r,
443443
return -1;
444444
}
445445

446-
off_t ret_offset = lseek(fd, offset, SEEK_CUR);
446+
off_t ret_offset = lseek(fd, offset, SEEK_SET);
447447
if (ret_offset != (off_t) offset) {
448448
close(fd);
449449
return -1;

0 commit comments

Comments
 (0)