2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +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

View File

@@ -37,7 +37,7 @@ int parse_maps(pid_t pid, int pid_dir, struct list_head *vma_area_list, bool use
if (use_map_files) {
map_files_dir = opendir_proc(pid_dir, "map_files");
if (!map_files_dir) {
pr_err("Can't open %d's, old kernel?\n", pid);
pr_perror("Can't open %d's map_files (old kernel?)\n", pid);
goto err;
}
}
@@ -72,7 +72,7 @@ int parse_maps(pid_t pid, int pid_dir, struct list_head *vma_area_list, bool use
vma_area->vm_file_fd = openat(dirfd(map_files_dir), path, O_RDONLY);
if (vma_area->vm_file_fd < 0) {
if (errno != ENOENT) {
pr_perror("Failed opening %d's map %lu", pid, start);
pr_perror("Can't open %d's map %lu", pid, start);
goto err;
}
}