aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2007-01-18 18:34:46 +0000
committerrsc <devnull@localhost>2007-01-18 18:34:46 +0000
commit47964cbc7b1409edc4908f199912e25d17b63b55 (patch)
tree6bb6a1f7d891430ab26b3cb37fd390427bfea9ec /src/cmd/vac
parent9ae50083867061b73bf74ed0ee713a7e022ba3c6 (diff)
downloadplan9port-47964cbc7b1409edc4908f199912e25d17b63b55.tar.gz
plan9port-47964cbc7b1409edc4908f199912e25d17b63b55.tar.bz2
plan9port-47964cbc7b1409edc4908f199912e25d17b63b55.zip
print + new files in verbose mode (Michael Kaminsky)
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index 709a60af..963a56a0 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -544,6 +544,9 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir)
return;
}
+ if(verbose)
+ fprint(2, "+ %s\n", lname);
+
/* look for an append only file */
if((dir->mode&DMAPPEND) != 0)
if(vd.size < dir->length)