Commit 852efe69 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

fixup

parent a3d52a18
...@@ -372,7 +372,7 @@ int main (int argc, char **argv) ...@@ -372,7 +372,7 @@ int main (int argc, char **argv)
if (unlink(temp)) if (unlink(temp))
err(1, "unlink \"%s\" failed", temp); err(1, "unlink \"%s\" failed", temp);
if (fcntl(fd, F_SETFL, flags)) if (fcntl(fd, F_SETFL, flags))
err("fcntl failed, please retry without -D"); err(1, "fcntl failed, please retry without -D");
for (woffset = 0 ; woffset + size <= wsize ; woffset += size) { for (woffset = 0 ; woffset + size <= wsize ; woffset += size) {
if (pwrite(fd, buf, size, offset + woffset) != size) if (pwrite(fd, buf, size, offset + woffset) != size)
err(1, "write failed"); err(1, "write failed");
......
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