diff options
author | rsc <devnull@localhost> | 2004-12-27 21:05:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-12-27 21:05:39 +0000 |
commit | 929fcfe0e3affc81cb02e49c0f1320408ce9260c (patch) | |
tree | a70564d0965e47da74720efbaa93af1e135fcf43 /src/cmd/vac | |
parent | 6a130cb01bef62688d1e9d0393d31cfe9ec928a2 (diff) | |
download | plan9port-929fcfe0e3affc81cb02e49c0f1320408ce9260c.tar.gz plan9port-929fcfe0e3affc81cb02e49c0f1320408ce9260c.tar.bz2 plan9port-929fcfe0e3affc81cb02e49c0f1320408ce9260c.zip |
add note that vac should work.
change %R to %r
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/README | 3 | ||||
-rw-r--r-- | src/cmd/vac/srcload.c | 6 | ||||
-rw-r--r-- | src/cmd/vac/vac.c | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/cmd/vac/README b/src/cmd/vac/README index bc44b560..c8d68bd7 100644 --- a/src/cmd/vac/README +++ b/src/cmd/vac/README @@ -1,3 +1,2 @@ -This is very buggered. -Just here for reference for now. +This is somewhat untested but is believed to work. diff --git a/src/cmd/vac/srcload.c b/src/cmd/vac/srcload.c index 4f48efc6..5dec719f 100644 --- a/src/cmd/vac/srcload.c +++ b/src/cmd/vac/srcload.c @@ -124,7 +124,7 @@ mkroot(Cache *c) r = sourceAlloc(c, u, 0, 0); vtUnlock(u->lk); if(r == nil) - sysfatal("could not create root source: %R"); + sysfatal("could not create root source: %r"); return r; } @@ -157,7 +157,7 @@ new(Source *s, int trace, int depth) } ss = sourceCreate(s, s->psize, s->dsize, 1+frand()>.5, 0); if(ss == nil) - fprint(2, "could not create directory: %R\n"); + fprint(2, "could not create directory: %r\n"); if(trace) { int j; for(j=1; j<trace; j++) @@ -221,7 +221,7 @@ dumpone(Source *s) for(i=0; i<n; i++) { ss = sourceOpen(s, i, 1); if(ss == nil) { -fprint(2, "%lud: %R\n", i); +fprint(2, "%lud: %r\n", i); continue; } Bprint(bout, "\t%lud %d %llud %V\n", i, ss->dir, ss->size, ss->lump->score); diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index a10ce3d0..53a66beb 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -196,7 +196,7 @@ threadmain(int argc, char *argv[]) vac(z, argv); if(vtsync(z) < 0) - fprint(2, "warning: could not ask server to flush pending writes: %R\n"); + fprint(2, "warning: could not ask server to flush pending writes: %r\n"); if(statsflag) fprint(2, "files %ld:%ld data %ld:%ld:%ld meta %ld\n", stats.file, stats.sfile, |