diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-10-21 12:00:53 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-10-21 12:00:53 -0400 |
commit | e5501952ff0513d32723f7b9a3250702076be0a6 (patch) | |
tree | 52d6be5cfd30320189ea250d860aa96212ae5d75 /libsandbox/libsandbox.c | |
parent | switch to https:// URIs when possible (diff) | |
download | sandbox-e5501952ff0513d32723f7b9a3250702076be0a6.tar.gz sandbox-e5501952ff0513d32723f7b9a3250702076be0a6.tar.bz2 sandbox-e5501952ff0513d32723f7b9a3250702076be0a6.zip |
libsandbox: tweak const markings on env vars
This fixes compiler warnings, but shouldn't make a difference otherwise.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/libsandbox.c')
-rw-r--r-- | libsandbox/libsandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c index d69fecd..b084daa 100644 --- a/libsandbox/libsandbox.c +++ b/libsandbox/libsandbox.c @@ -1130,7 +1130,7 @@ bool before_syscall_open_char(int dirfd, int sb_nr, const char *func, const char typedef struct { const char *name; size_t len; - char *value; + const char *value; } env_pair; #define ENV_PAIR(x, n, v) [x] = { .name = n, .len = sizeof(n) - 1, .value = v, } |