2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

crtools: add EOL to error messages

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-11-23 16:43:33 +04:00
committed by Pavel Emelyanov
parent b7cffae5d4
commit 13a7498c2a
6 changed files with 10 additions and 10 deletions

View File

@@ -190,7 +190,7 @@ int parse_smaps(pid_t pid, struct list_head *vma_area_list, bool use_map_files)
&start, &end, &r, &w, &x, &s, &pgoff, &dev_maj,
&dev_min, &ino, file_path);
if (num < 10) {
pr_err("Can't parse: %s", buf);
pr_err("Can't parse: %s\n", buf);
goto err;
}
@@ -663,7 +663,7 @@ static int parse_mnt_opt(char *str, struct mount_info *mi, int *off)
while (1) {
end = strchr(str, ' ');
if (!end) {
pr_err("Error parsing mount options");
pr_err("Error parsing mount options\n");
return -1;
}