diff options
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r-- | mbbsd/record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c index 01b9fb15..17f8b482 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -567,7 +567,7 @@ do_append(char *fpath, fileheader_t * record, int size) if(fstat(fd, &st)!=-1) fsize = st.st_size; - lseek(fd, (fsize / size) * size, SEEK_CUR); // avoid offset + lseek(fd, (fsize / size) * size, SEEK_SET); // avoid offset safewrite(fd, record, size); |