summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-09-07 12:12:39 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-09-07 12:12:39 +0000
commit8febc25442bcd8fb5ce65c072404ca3d62602cef (patch)
treedc03a66a0e5c22eaa3b9800152d7a676c41a6a79
parent8c1d2ef916b12c55604b4c7360597573ba03783f (diff)
downloadrsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.tar.gz
rsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.tar.xz
rsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.zip
fixed a minor bug in usage()Branchpoint_Stable_1-0
-rw-r--r--NEWS2
-rwxr-xr-xstringbuf.c2
-rw-r--r--syslogd.c4
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 <stdlib.h
+#include <stdlib.h>
#include <assert.h>
#include <string.h>
#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);
}