diff options
author | rsc <devnull@localhost> | 2007-01-18 18:26:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2007-01-18 18:26:56 +0000 |
commit | 9ae50083867061b73bf74ed0ee713a7e022ba3c6 (patch) | |
tree | 45ec42e3df58a7299adf8b892343bf9f007e03ed /src/cmd/vac | |
parent | 9fb10d4386a239907682fd73d5c468cccb1d2135 (diff) | |
download | plan9port-9ae50083867061b73bf74ed0ee713a7e022ba3c6.tar.gz plan9port-9ae50083867061b73bf74ed0ee713a7e022ba3c6.tar.bz2 plan9port-9ae50083867061b73bf74ed0ee713a7e022ba3c6.zip |
More return value fixes (Michael Kaminsky)
Diffstat (limited to 'src/cmd/vac')
-rw-r--r-- | src/cmd/vac/vac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index 4848d7ce..709a60af 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -538,7 +538,7 @@ vacdata(DirSink *dsink, int fd, char *lname, VacFile *vf, Dir *dir) if(vd.mtime == dir->mtime) if(vd.size == dir->length) if(!vd.plan9 || /* vd.p9path == dir->qid.path && */ vd.p9version == dir->qid.vers) - if(dirsinkwritefile(dsink, vf)) { + if(dirsinkwritefile(dsink, vf) >= 0) { stats.sfile++; vdcleanup(&vd); return; |