Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2002 20:36:03 -0700 (PDT)
From:      Jeff Ito <jeffi@rcn.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/42620: syslogd usage, missing options
Message-ID:  <200209100336.g8A3a3P1058957@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         42620
>Category:       bin
>Synopsis:       syslogd usage, missing options
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 09 20:40:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Ito
>Release:        -CURRENT
>Organization:
n/a
>Environment:
FreeBSD 5.0-CURRENT #1: Sat Sep  7 21:46:21 EDT 2002
>Description:
usage() in syslogd.c missing a few options
>How-To-Repeat:
n/a
>Fix:
Perhaps this needs to be re-formatted to be more style friendly. but here it is regardless.

Index: syslogd.c
===================================================================
RCS file: /opt/cvs/fbsd/src/usr.sbin/syslogd/syslogd.c,v
retrieving revision 1.106
diff -u -r1.106 syslogd.c
--- syslogd.c   4 Sep 2002 21:11:25 -0000       1.106
+++ syslogd.c   10 Sep 2002 03:30:00 -0000
@@ -626,8 +626,9 @@
 usage(void)
 {

-       fprintf(stderr, "%s\n%s\n%s\n",
-               "usage: syslogd [-46Adnsuv] [-a allowed_peer] [-f config_file]",
+       fprintf(stderr, "%s\n%s\n%s\n%s\n",
+               "usage: syslogd [-46Adknosuv] [-a allowed_peer]",
+               "               [-b bind_address] [-f config_file]",
                "               [-m mark_interval] [-l log_socket]",
                "               [-p log_socket] [-P pid_file]");
        exit(1);


patch also available at http://users.rcn.com/jeffi/syslogd.c.diff
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209100336.g8A3a3P1058957>