summaryrefslogtreecommitdiff
path: root/lib/std/env+plan9.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/env+plan9.myr')
-rw-r--r--lib/std/env+plan9.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/env+plan9.myr b/lib/std/env+plan9.myr
index 79c27ac..2c54eea 100644
--- a/lib/std/env+plan9.myr
+++ b/lib/std/env+plan9.myr
@@ -42,8 +42,8 @@ const getenv = {name
| `Fail m: -> `None
| `Ok data:
data = cstrconv(data)
- envkey = slpush(envkey, sldup(data))
- envval = slpush(envval, data)
+ slpush(&envkey, sldup(data))
+ slpush(&envval, data)
-> `Some data
;;
;;