Commit 9617bd6c authored by Max Kellermann's avatar Max Kellermann

test/run_filter: fix error message

parent 4c7154bd
......@@ -102,7 +102,7 @@ FullWrite(FileDescriptor fd, const void *_buffer, size_t size)
while (size > 0) {
size_t nbytes = WriteOrThrow(fd, buffer, size);
if (nbytes == 0)
throw std::runtime_error("Premature end of input");
throw std::runtime_error("Write failed");
buffer += nbytes;
size -= nbytes;
......
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