aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vac
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-02-21 04:28:34 +0000
committerrsc <devnull@localhost>2005-02-21 04:28:34 +0000
commit5db61d6221fc96c9734f96846193bfc66eee2d8f (patch)
tree3a217f6ea8a865f906e6b1aab2264d56638d5e44 /src/cmd/vac
parentd24aad8fd74f6b3fb6fab8eb9ee4e4cf0d6a3a40 (diff)
downloadplan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.tar.gz
plan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.tar.bz2
plan9port-5db61d6221fc96c9734f96846193bfc66eee2d8f.zip
syntactically correct c code always a plus
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;