Skip to content

Commit 43287af

Browse files
committed
Fixing error message in nsexec
Signed-off-by: rajasec <[email protected]>
1 parent 1883120 commit 43287af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcontainer/nsenter/nsexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ void join_namespaces(char *nslist)
394394

395395
fd = open(path, O_RDONLY);
396396
if (fd < 0)
397-
bail("failed to open %s", namespace);
397+
bail("failed to open %s", path);
398398

399399
ns->fd = fd;
400400
ns->ns = nsflag(namespace);

0 commit comments

Comments
 (0)