diff options
author | rsc <devnull@localhost> | 2007-06-05 21:34:14 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-06-05 21:34:14 +0000 |
commit | 001dc1709be54e944d8ce0f0fdb94500cad2d16a (patch) | |
tree | 5da8d127736035285779b28c815cc363ac39dc19 /src/cmd/ramfs.c | |
parent | c59c3b211297749916778f375d0cd8370d37e251 (diff) | |
download | plan9port-001dc1709be54e944d8ce0f0fdb94500cad2d16a.tar.gz plan9port-001dc1709be54e944d8ce0f0fdb94500cad2d16a.tar.bz2 plan9port-001dc1709be54e944d8ce0f0fdb94500cad2d16a.zip |
less chatty
Diffstat (limited to 'src/cmd/ramfs.c')
-rw-r--r-- | src/cmd/ramfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cmd/ramfs.c b/src/cmd/ramfs.c index 6330f04c..82aa328b 100644 --- a/src/cmd/ramfs.c +++ b/src/cmd/ramfs.c @@ -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){ |