summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:41:18 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-16 13:41:18 +0100
commitc5611012f9d82155d6017435b5cf52c0b4e31149 (patch)
tree6089f1058b3a4192177b18c36d98f827a74fe9e8 /tools
parent7817aa1597384fce7ac643e56ee56f47d3c5d37d (diff)
downloadrsyslog-c5611012f9d82155d6017435b5cf52c0b4e31149.tar.gz
rsyslog-c5611012f9d82155d6017435b5cf52c0b4e31149.tar.xz
rsyslog-c5611012f9d82155d6017435b5cf52c0b4e31149.zip
fixed cosmetic nit (as a result of clang static code analyzer run)
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 2e4ea5d5..ffcaa27f 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -2590,7 +2590,7 @@ int realMain(int argc, char **argv)
}
}
- if ((argc -= optind))
+ if(argc - optind)
usage();
DBGPRINTF("rsyslogd %s startup, compatibility mode %d, module path '%s', cwd:%s\n",