aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makeenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeenv.c b/makeenv.c
index c2982f0..8f76f5b 100644
--- a/makeenv.c
+++ b/makeenv.c
@@ -229,7 +229,7 @@ trim_around_equals(char *s)
val++;
if (val != p)
- stpcpy(p, val);
+ memmove(p, val, strlen(val) + 1U);
}