summaryrefslogtreecommitdiffstats
path: root/src/core/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/execute.c')
-rw-r--r--src/core/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/execute.c b/src/core/execute.c
index 2a02cc54db..ad5e25e223 100644
--- a/src/core/execute.c
+++ b/src/core/execute.c
@@ -1125,7 +1125,7 @@ static int setup_pam(
gid_t gid,
const char *tty,
char ***env,
- int fds[], size_t n_fds) {
+ const int fds[], size_t n_fds) {
#if HAVE_PAM
@@ -2803,7 +2803,7 @@ static int close_remaining_fds(
int user_lookup_fd,
int socket_fd,
int exec_fd,
- int *fds, size_t n_fds) {
+ const int *fds, size_t n_fds) {
size_t n_dont_close = 0;
int dont_close[n_fds + 12];