Add missing newline to pipe test

Original patch by Ben Larson <hungryninja101@gmail.com>.

Fixes #3055
This commit is contained in:
Christian Helmuth 2019-03-19 12:49:49 +01:00 committed by Norman Feske
parent 5efa6d5273
commit 9bbc91bb52

View File

@ -76,7 +76,7 @@ int main(int argc, char *argv[])
ssize_t bytes_written = write(pipefd[1], buf, BUF_SIZE); ssize_t bytes_written = write(pipefd[1], buf, BUF_SIZE);
if (bytes_written != BUF_SIZE) { if (bytes_written != BUF_SIZE) {
fprintf(stderr, "Error writing to pipe"); fprintf(stderr, "Error writing to pipe\n");
exit(1); exit(1);
} }