aboutgitcodelistschat:MatrixIRC
diff options
context:
space:
mode:
-rw-r--r--operations.c2
-rw-r--r--operations.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/operations.c b/operations.c
index 5d295c6..6cd1c48 100644
--- a/operations.c
+++ b/operations.c
@@ -314,7 +314,7 @@ int op_fd(const struct seccomp_notif *req, int notifier,
{
const struct fd_desc *desc = gluten_ptr(&req->data, g, op->desc);
struct seccomp_notif_addfd resp;
- void *fd;
+ const void *fd;
if (!desc)
return -1;
diff --git a/operations.h b/operations.h
index 1ece615..46c4b4c 100644
--- a/operations.h
+++ b/operations.h
@@ -33,7 +33,7 @@ struct ns_path {
struct arg_clone {
long nr;
- void *args[6];
+ const void *args[6];
char ns_path[NS_TYPE_MAX + 1][PATH_MAX];
long ret;
int err;