summaryrefslogtreecommitdiff
path: root/appl/cmd/env.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/cmd/env.b')
-rw-r--r--appl/cmd/env.b3
1 files changed, 1 insertions, 2 deletions
diff --git a/appl/cmd/env.b b/appl/cmd/env.b
index e6fd8889..d35d13a3 100644
--- a/appl/cmd/env.b
+++ b/appl/cmd/env.b
@@ -32,8 +32,7 @@ init(nil: ref Draw->Context, argv: list of string)
readdir := load Readdir Readdir->PATH;
if(readdir == nil)
error(sys->sprint("can't load %s: %r", Readdir->PATH));
- (a, n) := readdir->init("/env",
- Readdir->NONE | Readdir->COMPACT | Readdir->DESCENDING);
+ (a, nil) := readdir->init("/env", Readdir->NONE | Readdir->COMPACT | Readdir->DESCENDING);
for(i := 0; i < len a; i++){
s := a[i].name+"="+env->getenv(a[i].name)+"\n";
b := array of byte s;