summaryrefslogtreecommitdiff
path: root/libc/stdlib/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/putenv.c')
-rw-r--r--libc/stdlib/putenv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/putenv.c b/libc/stdlib/putenv.c
index a7a453d5f..692aefb5e 100644
--- a/libc/stdlib/putenv.c
+++ b/libc/stdlib/putenv.c
@@ -33,7 +33,7 @@ static int extras = 0;
{
if( memcmp(var, *p, len) == 0 && (*p)[len] == '=' )
{
- while( p[0] = p[1] ) p++;
+ while( (p[0] = p[1]) ) p++;
extras++;
break;
}