aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 51b627fcc..dde36dd7c 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -2506,7 +2506,7 @@ setvar(const char *name, const char *val, int flags)
2506 p = mempcpy(nameeq, name, namelen); 2506 p = mempcpy(nameeq, name, namelen);
2507 if (val) { 2507 if (val) {
2508 *p++ = '='; 2508 *p++ = '=';
2509 memcpy(p, val, vallen); 2509 strcpy(p, val);
2510 } 2510 }
2511 vp = setvareq(nameeq, flags | VNOSAVE); 2511 vp = setvareq(nameeq, flags | VNOSAVE);
2512 INT_ON; 2512 INT_ON;