aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/vac')
-rw-r--r--src/cmd/vac/vac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c
index fbb4a51b..01626ced 100644
--- a/src/cmd/vac/vac.c
+++ b/src/cmd/vac/vac.c
@@ -686,7 +686,7 @@ vacmerge(DirSink *dsink, char *lname, char *sname)
VacDir dir;
uvlong max;
- if((p=strrchr(sname, '.') == nil || strcmp(p, ".vac") != 0)
+ if((p=strrchr(sname, '.')) == nil || strcmp(p, ".vac") != 0)
return -1;
d = nil;