From owner-cvs-all@FreeBSD.ORG Sat May 29 16:24:18 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E913916A4CE; Sat, 29 May 2004 16:24:18 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC3FB43D41; Sat, 29 May 2004 16:24:18 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4TNOIBS050343; Sat, 29 May 2004 16:24:18 -0700 (PDT) (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4TNOI1U050342; Sat, 29 May 2004 16:24:18 -0700 (PDT) (envelope-from dwmalone) Message-Id: <200405292324.i4TNOI1U050342@repoman.freebsd.org> From: David Malone Date: Sat, 29 May 2004 16:24:18 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/syslogd syslogd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 May 2004 23:24:19 -0000 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