aboutsummaryrefslogtreecommitdiff
path: root/butl/process.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/process.cxx')
-rw-r--r--butl/process.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/butl/process.cxx b/butl/process.cxx
index 194ea4e..3556fd9 100644
--- a/butl/process.cxx
+++ b/butl/process.cxx
@@ -25,7 +25,7 @@ namespace butl
#ifndef _WIN32
process::
- process (const char* cwd, char const* args[], int in, int out, int err)
+ process (const char* cwd, char const* const args[], int in, int out, int err)
{
int out_fd[2] = {in, 0};
int in_ofd[2] = {0, out};
@@ -98,7 +98,8 @@ namespace butl
}
process::
- process (const char* cwd, char const* args[], process& in, int out, int err)
+ process (const char* cwd, char const* const args[],
+ process& in, int out, int err)
: process (cwd, args, in.in_ofd, out, err)
{
assert (in.in_ofd != -1); // Should be a pipe.