aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vbackup
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2005-11-07 04:48:36 +0000
committerwkj <devnull@localhost>2005-11-07 04:48:36 +0000
commit7f3d278a3bf42d174ac7e33bca180b7f4adc8310 (patch)
tree39c0919c405ba9333d82bd62b8b50240237f2028 /src/cmd/vbackup
parent6f6012e1e9723792395c6f8a96a3fa261ef91c56 (diff)
downloadplan9port-7f3d278a3bf42d174ac7e33bca180b7f4adc8310.tar.gz
plan9port-7f3d278a3bf42d174ac7e33bca180b7f4adc8310.tar.bz2
plan9port-7f3d278a3bf42d174ac7e33bca180b7f4adc8310.zip
Vbackup knew about some unexported variables in libventi
that seem to have gone AWOL. Remove the use and make things compile again.
Diffstat (limited to 'src/cmd/vbackup')
-rw-r--r--src/cmd/vbackup/vbackup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c
index 5ed9409b..107d2211 100644
--- 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