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:
committed by
Cyrill Gorcunov
parent
ad3bc05771
commit
1408ead858
8
util.c
8
util.c
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user