We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c338f9c commit 8d0e289Copy full SHA for 8d0e289
src/libutil/serialise.cc
@@ -206,7 +206,7 @@ void FdSource::restart()
206
if (!isSeekable)
207
throw Error("can't seek to the start of a file");
208
buffer.reset();
209
- read = bufPosOut = bufPosOut = 0;
+ read = bufPosIn = bufPosOut = 0;
210
int fd_ = fromDescriptorReadOnly(fd);
211
if (lseek(fd_, 0, SEEK_SET) == -1)
212
throw SysError("seeking to the start of a file");
0 commit comments