aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-11 20:32:41 +0000
committerrsc <devnull@localhost>2005-02-11 20:32:41 +0000
commit6c0209f6f0eb41151397e4784730d2b6bca8d7ea (patch)
tree12a915fa08bf4f333bbad34f03347d4444729c07 /src/cmd/vac
parent7d59ed711467b2b2c8ac25f86724225c8be7524c (diff)
downloadplan9port-6c0209f6f0eb41151397e4784730d2b6bca8d7ea.tar.gz
plan9port-6c0209f6f0eb41151397e4784730d2b6bca8d7ea.tar.bz2
plan9port-6c0209f6f0eb41151397e4784730d2b6bca8d7ea.zip
build changes
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index f2595fff..93add14d 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -400,6 +400,8 @@ vacfile(DirSink *dsink, char *lname, char *sname, VacFile *vf)
if((dir = dirstat(sname)) == nil){
warn("could not stat file %s: %r", lname);
+ return;
+ }
if(dir->mode&(DMSYMLINK|DMDEVICE|DMNAMEDPIPE|DMSOCKET)){
free(dir);
return;