Signed-off-by: Stanislav Kinsburskiy <[email protected]>
---
 criu/files-reg.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/criu/files-reg.c b/criu/files-reg.c
index bcfe1fd..f749445 100644
--- a/criu/files-reg.c
+++ b/criu/files-reg.c
@@ -219,7 +219,7 @@ again:
                        msg = "Can't create node for ghost file";
        } else if (S_ISCHR(gfe->mode) || S_ISBLK(gfe->mode)) {
                if (!gfe->has_rdev) {
-                       pr_err("No rdev for ghost device\n");
+                       pr_err("No rdev for ghost device");
                        goto err;
                }
                if ((ret = mknod(path, gfe->mode, gfe->rdev)) < 0)
@@ -229,7 +229,7 @@ again:
                        msg = "Can't make ghost dir";
        } else {
                if ((ret = mkreg_ghost(path, gfe->mode, img)) < 0)
-                       msg = "Can't create ghost regfile\n";
+                       msg = "Can't create ghost regfile";
        }
 
        if (ret < 0) {

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to