mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
parent
f80e09b53a
commit
352ef9ec55
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38547
@ -5,5 +5,6 @@ SRCS= syslogd.c ttymsg.c
|
||||
.PATH: ${.CURDIR}/../../usr.bin/wall
|
||||
MAN5= syslog.conf.5
|
||||
MAN8= syslogd.8
|
||||
COPTS+= -Wall
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)syslogd.c 8.3 (Berkeley) 4/4/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: syslogd.c,v 1.39 1998/07/22 06:15:19 phk Exp $";
|
||||
"$Id: syslogd.c,v 1.40 1998/07/27 13:04:14 phk Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -301,7 +301,7 @@ main(argc, argv)
|
||||
FILE *fp;
|
||||
char *p, *hname, line[MAXLINE + 1];
|
||||
struct timeval tv, *tvp;
|
||||
pid_t ppid;
|
||||
pid_t ppid = 1;
|
||||
|
||||
while ((ch = getopt(argc, argv, "a:dl:f:m:p:suv")) != -1)
|
||||
switch(ch) {
|
||||
@ -585,7 +585,7 @@ void
|
||||
printsys(msg)
|
||||
char *msg;
|
||||
{
|
||||
int c, pri, flags;
|
||||
int pri, flags;
|
||||
char *p, *q;
|
||||
|
||||
for (p = msg; *p != '\0'; ) {
|
||||
|
Loading…
Reference in New Issue
Block a user