From 8febc25442bcd8fb5ce65c072404ca3d62602cef Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 7 Sep 2005 12:12:39 +0000 Subject: fixed a minor bug in usage() --- NEWS | 2 ++ stringbuf.c | 2 +- syslogd.c | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 4632f803..1c911168 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ Version 1.0.0 (RGer), 2005-09-12 - changed install doc to cover daily cron scripts - a trouble source - added rc script for slackware (provided by Chris Elvidge - thanks!) +- fixed a really minor bug in usage() - the -r option was still + reported as without the port parameter --------------------------------------------------------------------------- Version 0.9.8 (RGer), 2005-09-05 - made startup and shutdown message more consistent and included the diff --git a/stringbuf.c b/stringbuf.c index 2ae7973b..b91c05a4 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -37,7 +37,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include #include "liblogging-stub.h" diff --git a/syslogd.c b/syslogd.c index a460ada2..5d3bea44 100644 --- a/syslogd.c +++ b/syslogd.c @@ -2715,8 +2715,8 @@ int main(argc, argv) int usage() { - fprintf(stderr, "usage: rsyslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \ - " [-s domainlist] [-t port] [-f conffile]\n"); + fprintf(stderr, "usage: rsyslogd [-dvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \ + " [-s domainlist] [-r port] [-t port] [-f conffile]\n"); exit(1); } -- cgit v1.2.3