summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/ramfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/cmd/ramfs.c b/sys/src/cmd/ramfs.c
index 534edc640..57ca02daa 100644
--- a/sys/src/cmd/ramfs.c
+++ b/sys/src/cmd/ramfs.c
@@ -3,6 +3,8 @@
#include <auth.h>
#include <fcall.h>
+#include <pool.h>
+
/*
* Rather than reading /adm/users, which is a lot of work for
* a toy program, we assume all groups have the form
@@ -180,6 +182,7 @@ main(int argc, char *argv[])
break;
case 'u':
memlim = 0; /* unlimited memory consumption */
+ mainmem->maxsize = (uintptr)~0;
break;
case 'D':
debug = 1;