plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 7f3d278a3bf42d174ac7e33bca180b7f4adc8310
parent 6f6012e1e9723792395c6f8a96a3fa261ef91c56
Author: wkj <devnull@localhost>
Date:   Mon,  7 Nov 2005 04:48:36 +0000

Vbackup knew about some unexported variables in libventi
that seem to have gone AWOL.  Remove the use and make
things compile again.

Diffstat:
Msrc/cmd/vbackup/vbackup.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c @@ -72,7 +72,7 @@ VtConn* z; /* connection to venti */ VtCache* zcache; /* cache of venti blocks */ uchar* zero; /* blocksize zero bytes */ -extern int ncopy, nread, nwrite; /* hidden in libventi */ +extern int nwrite; /* hidden in libventi */ void cmpproc(void*); void fsysproc(void*); @@ -278,8 +278,8 @@ threadmain(int argc, char **argv) wlock(&endlk); if(statustime) - print("# %T procs exited: %d blocks changed, %d read, %d written, %d copied\n", - nchange, nread, nwrite, ncopy); + print("# %T procs exited: %d blocks changed, %d written\n", + nchange, nwrite); /* * prepare root block