tcut and paste fixes - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6df24754e468192b309ea5b5fd6d7ba8c905756d
(DIR) parent cd27286eb1bb042e10c4ac5ae3e8e2ccaf94a1a3
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 5 May 2006 15:16:03 +0000
cut and paste fixes
Diffstat:
M src/libventi/cache.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/src/libventi/cache.c b/src/libventi/cache.c
t@@ -397,8 +397,9 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], int type)
if(chattyventi)
fprint(2, "cached read error for %V\n", score);
if(vttracelevel)
- fprint(2, "vtcacheglobal %V %d => cache read error\n", score, typ werrstr("venti i/o error");
+ fprint(2, "vtcacheglobal %V %d => cache read error\n", score, type);
vtblockput(b);
+ werrstr("venti i/o error");
return nil;
}
if(vttracelevel)
t@@ -449,7 +450,8 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], int type)
b->iostate = BioVenti;
b->nlock = 1;
if(vttracelevel)
- fprint(2, "vtcacheglobal %V %d => loaded into cache; returning\n", score, ty return b;
+ fprint(2, "vtcacheglobal %V %d => loaded into cache; returning\n", score, type);
+ return b;
}
/*