Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMitul Karnik <mitulkarnik.92@gmail.com>2019-02-26 13:03:02 +0300
committerAndrei Vagin <avagin@gmail.com>2019-04-21 06:25:26 +0300
commit116e3cb64994e3dc1dfa66df953a1defa32c6d37 (patch)
treebfbadb264e73fafca8603a7fce3fca2fa511d155 /test
parentd5cbd48a28ce679f92cc90e7eb439a6b770bde1e (diff)
test: Kill dead code from pipes test
Signed-off-by: Mitul Karnik <mitulkarnik.92@gmail.com> Signed-off-by: Andrei Vagin <avagin@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/zdtm/static/pipe01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zdtm/static/pipe01.c b/test/zdtm/static/pipe01.c
index 85478b6ea..ec8d1fb61 100644
--- a/test/zdtm/static/pipe01.c
+++ b/test/zdtm/static/pipe01.c
@@ -108,8 +108,8 @@ int main(int argc, char ** argv)
if (ret == 0)
break;
if (ret == -1) {
- goto err;
pr_perror("read() failed");
+ goto err;
}
size -= ret;