cvs commit: src/usr.sbin/syslogd syslogd.c

David Malone dwmalone at FreeBSD.org
Sat May 29 16:24:19 PDT 2004


dwmalone    2004/05/29 16:24:18 PDT

  FreeBSD src repository

  Modified files:
    usr.sbin/syslogd     syslogd.c 
  Log:
  Fix some bugs that don't manifest themselves in practice.
  
  1) Don't check for getopt returning '?', we have a default case.
  2) Check if the priority is LOG_KERN correctly - in practice
     LOG_KERN is 0, so it makes no difference. OpenBSD fixed a
     different nearby bug that we don't have 'cos our definition
     of LOG_MAKEPRI is different to OpenBSD's.
  
  Copy a comment from OpenBSD, observing that LOG_KERN is 0.
  
  Inspired by PR:         67139
  
  Revision  Changes    Path
  1.123     +6 -3      src/usr.sbin/syslogd/syslogd.c


More information about the cvs-src mailing list