From 43287af98244c7fe1ca061c5bb531953e9de0fad Mon Sep 17 00:00:00 2001 From: rajasec Date: Thu, 10 Nov 2016 17:06:50 +0530 Subject: [PATCH] Fixing error message in nsexec Signed-off-by: rajasec --- libcontainer/nsenter/nsexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/nsenter/nsexec.c b/libcontainer/nsenter/nsexec.c index c80f8e60..307cef45 100644 --- a/libcontainer/nsenter/nsexec.c +++ b/libcontainer/nsenter/nsexec.c @@ -394,7 +394,7 @@ void join_namespaces(char *nslist) fd = open(path, O_RDONLY); if (fd < 0) - bail("failed to open %s", namespace); + bail("failed to open %s", path); ns->fd = fd; ns->ns = nsflag(namespace);