summaryrefslogtreecommitdiff
path: root/sys/src/9/port/cache.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-12-16 08:11:21 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-12-16 08:11:21 +0100
commit5c29603f502d83955f87be7385e0323a43e1ee2c (patch)
tree15d4e8c14c68a134b48d25d896c34abb034144ed /sys/src/9/port/cache.c
parent8309f15c3669d684da7c3fe2b6748f9362e1cc38 (diff)
kernel: remove obsolete comment regarding Mntcache size in */main.c
Diffstat (limited to 'sys/src/9/port/cache.c')
-rw-r--r--sys/src/9/port/cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/port/cache.c b/sys/src/9/port/cache.c
index 702fa94d5..a64088abf 100644
--- a/sys/src/9/port/cache.c
+++ b/sys/src/9/port/cache.c
@@ -51,11 +51,11 @@ cinit(void)
int i;
Mntcache *m;
- cache.alloc = xalloc(sizeof(Mntcache)*NFILE);
- m = cache.alloc;
+ m = xalloc(sizeof(Mntcache)*NFILE);
if (m == nil)
panic("cinit: no memory");
+ cache.alloc = m;
cache.head = m;
for(i = 0; i < NFILE-1; i++) {