summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/su.c b/src/su.c
index 27a56d505..d7460859f 100644
--- a/src/su.c
+++ b/src/su.c
@@ -180,7 +180,7 @@ static struct option const longopts[] =
/* Add VAL to the environment, checking for out of memory errors. */
static void
-xputenv (const char *val)
+xputenv (char *val)
{
if (putenv (val))
xalloc_die ();