The default for -p was ``kern.notice'' in the -h case.

Make it ``user.notice'', as per manpage.

(The syslog(3) function defaults to LOG_USER facility
if none is specified, but we don't use syslog() in the
-h case.)

PR:		docs/30374
Noticed by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
This commit is contained in:
Ruslan Ermilov 2001-09-06 12:48:44 +00:00
parent 6680d16d19
commit ca122bf7d8

View File

@ -94,7 +94,7 @@ main(argc, argv)
tag = NULL;
host = NULL;
pri = LOG_NOTICE;
pri = LOG_USER | LOG_NOTICE;
logflags = 0;
unsetenv("TZ");
while ((ch = getopt(argc, argv, "46Af:h:ip:st:")) != -1)