Subject: Re: bin/3280: ypserv creats pid file of wrong contents; it records pid of parent
To: None <enami@ba2.so-net.or.jp, gnats-bugs@gnats.netbsd.org,>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 03/03/1997 12:30:47
> >Fix:
> 	Note that this patch also includes indentation fix of line
> 	`openlog("ypserv", LOG_PID, LOG_DAEMON);'.

Based on the original code, the intent was probably to have the openlog
within the scope of the if, in which case the correct thing to do is
add braces, not dedent the openlog() call. :-)  Not that it might not
be better to do the openlog all the time, but it should be thought
about.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B