[CRIU] [PATCH 3/4] modify switch_ns error message

Dengguangxing dengguangxing at huawei.com
Mon Apr 4 20:05:40 PDT 2016


Signed-off-by: Deng Guangxing <dengguangxing at huawei.com>
---
 criu/namespaces.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/namespaces.c b/criu/namespaces.c
index 2e821f5..ddffacb 100644
--- a/criu/namespaces.c
+++ b/criu/namespaces.c
@@ -227,7 +227,7 @@ int switch_ns(int pid, struct ns_desc *nd, int *rst)

 	nsfd = open_proc(pid, "ns/%s", nd->str);
 	if (nsfd < 0) {
-		pr_perror("Can't open ipcns file");
+		pr_perror("Can't open ns file");
 		goto err_ns;
 	}

-- 
2.5.0



More information about the CRIU mailing list