tless chatty - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 001dc1709be54e944d8ce0f0fdb94500cad2d16a | |
parent c59c3b211297749916778f375d0cd8370d37e251 | |
Author: rsc | |
Date: Tue, 5 Jun 2007 21:34:14 +0000 less chatty Diffstat: M src/cmd/ramfs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- | |
diff --git a/src/cmd/ramfs.c b/src/cmd/ramfs.c | |
t@@ -762,10 +762,8 @@ newfid(int fid) ff = 0; for(f = fids; f; f = f->next) - if(f->fid == fid){ -fprint(2, "got fid %d busy=%d\n", fid, f->busy); + if(f->fid == fid) return f; - } else if(!ff && !f->busy) ff = f; if(ff){ |