2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 22:35:33 +00:00

Assorted trivial message fixes

* kid -> child
* First letter should be uppercase
* Misc typos in messages and comments

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Kir Kolyshkin
2012-02-01 02:08:04 +04:00
committed by Cyrill Gorcunov
parent ad3bc05771
commit 1408ead858
6 changed files with 13 additions and 12 deletions

8
util.c
View File

@@ -100,7 +100,7 @@ int close_safe(int *fd)
if (!ret)
*fd = -1;
else
pr_perror("Unable to close fd: %d", *fd);
pr_perror("Unable to close fd %d", *fd);
}
return ret;
@@ -116,11 +116,11 @@ int reopen_fd_as_safe(int new_fd, int old_fd, bool allow_reuse_fd)
if (fcntl(new_fd, F_GETFD) != -1 || errno != EBADF) {
if (new_fd < 3) {
/*
* Standart descriptors.
* Standard descriptors.
*/
pr_warning("fd = %d is already used\n", new_fd);
pr_warning("fd %d already in use\n", new_fd);
} else {
pr_err("fd = %d is already used\n", new_fd);
pr_err("fd %d already in use\n", new_fd);
return -1;
}
}