summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctags/ctags.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ctags/ctags.c')
-rw-r--r--usr.bin/ctags/ctags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ctags/ctags.c b/usr.bin/ctags/ctags.c
index 725dfb5..421d819 100644
--- a/usr.bin/ctags/ctags.c
+++ b/usr.bin/ctags/ctags.c
@@ -229,7 +229,7 @@ find_entries(file)
char *cp;
lineno = 0; /* should be 1 ?? KB */
- if (cp = strrchr(file, '.')) {
+ if ((cp = strrchr(file, '.'))) {
if (cp[1] == 'l' && !cp[2]) {
int c;
OpenPOWER on IntegriCloud