From 7b65f479302e4df12717ea5ad2530c7c981bbc65 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Mon, 1 Nov 1999 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1999-11-01 --- port/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/port/cache.c b/port/cache.c index d7d3cf3de0ffdda20c10ffefc26ade639a9e083b..3bcc97bdde3618cf725deecdaff0a5d0dd9765eb 100644 --- a/port/cache.c +++ b/port/cache.c @@ -396,7 +396,7 @@ cchain(uchar *buf, ulong offset, int len, Extent **tail) lock(&cache); e->bid = cache.pgno; cache.pgno += BY2PG; - /* wrap the counter; low bits are unused by pghash by checked by lookpage */ + /* wrap the counter; low bits are unused by pghash but checked by lookpage */ if((cache.pgno & ~(BY2PG-1)) == 0){ if(cache.pgno == BY2PG-1){ print("cache wrapped\n");