aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--operations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/operations.c b/operations.c
index bb995df..97c4730 100644
--- a/operations.c
+++ b/operations.c
@@ -131,7 +131,7 @@ static int prepare_arg_clone(const struct seccomp_notif *req, struct gluten *g,
snprintf(c->cwd, PATH_MAX, "/proc/%d/root",
req->pid);
} else {
- snprintf(c->cwd, PATH_MAX, "/proc/%d/ns/%s",
+ snprintf(*dst, PATH_MAX, "/proc/%d/ns/%s",
req->pid, context_type_name[type]);
}
break;