mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
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>
This commit is contained in:
parent
e326889c06
commit
dca0eb5b4a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue