fdout_seekto will not always be seeking to zero.

This commit is contained in:
ckolivas 2011-03-17 17:25:23 +11:00
parent e78069c0d7
commit 7cbf870679

View file

@ -96,7 +96,7 @@ static i64 fdout_seekto(rzip_control *control, i64 pos)
}
return 0;
}
return lseek(control->fd_out, 0, SEEK_SET);
return lseek(control->fd_out, pos, SEEK_SET);
}
void write_magic(rzip_control *control)