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
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2021-04-23 03:35:14 +0300
committerAndrei Vagin <avagin@gmail.com>2021-09-03 20:31:00 +0300
commitdca0eb5b4a7c28d51c8f20527ecf54049ff443d1 (patch)
tree2802ab900fc2be878031135358ef248ce56688e5 /test/others/bers
parente326889c062ba87651dc3f895af54e57db0cfeda (diff)
test/others/bers: use pr_perror
When errno is set, it makes sense to use pr_perror. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'test/others/bers')
-rw-r--r--test/others/bers/bers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/others/bers/bers.c b/test/others/bers/bers.c
index 90b70c349..bb0c9dbcb 100644
--- a/test/others/bers/bers.c
+++ b/test/others/bers/bers.c
@@ -366,7 +366,7 @@ int main(int argc, char *argv[])
pid = fork();
if (pid < 0) {
- printf("Can't create fork: %m\n");
+ pr_perror("Can't fork");
exit(1);
} else if (pid == 0) {
work_on_fork(shared);