diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-09-07 12:12:39 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-09-07 12:12:39 +0000 |
commit | 8febc25442bcd8fb5ce65c072404ca3d62602cef (patch) | |
tree | dc03a66a0e5c22eaa3b9800152d7a676c41a6a79 | |
parent | 8c1d2ef916b12c55604b4c7360597573ba03783f (diff) | |
download | rsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.tar.gz rsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.tar.xz rsyslog-8febc25442bcd8fb5ce65c072404ca3d62602cef.zip |
fixed a minor bug in usage()Branchpoint_Stable_1-0
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | stringbuf.c | 2 | ||||
-rw-r--r-- | syslogd.c | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -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" @@ -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); } |