From owner-cvs-src@FreeBSD.ORG  Mon Jun  2 04:50:56 2008
Return-Path: <owner-cvs-src@FreeBSD.ORG>
Delivered-To: cvs-src@FreeBSD.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7033A106567D;
	Mon,  2 Jun 2008 04:50:56 +0000 (UTC) (envelope-from imp@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org
	[IPv6:2001:4f8:fff6::29])
	by mx1.freebsd.org (Postfix) with ESMTP id 356208FC1B;
	Mon,  2 Jun 2008 04:50:56 +0000 (UTC) (envelope-from imp@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m524ouu4076285;
	Mon, 2 Jun 2008 04:50:56 GMT (envelope-from imp@repoman.freebsd.org)
Received: (from svn2cvs@localhost)
	by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m524ouNc076284;
	Mon, 2 Jun 2008 04:50:56 GMT (envelope-from imp@repoman.freebsd.org)
Message-Id: <200806020450.m524ouNc076284@repoman.freebsd.org>
X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to
	imp@repoman.freebsd.org using -f
From: Warner Losh <imp@FreeBSD.org>
Date: Mon, 2 Jun 2008 04:50:47 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/usr.sbin/timed/timed timed.c
X-BeenThere: cvs-src@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-src>
List-Post: <mailto:cvs-src@freebsd.org>
List-Help: <mailto:cvs-src-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>,
	<mailto:cvs-src-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jun 2008 04:50:56 -0000

imp         2008-06-02 04:50:56 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/timed/timed timed.c 
  Log:
  SVN rev 179485 on 2008-06-02 04:50:47Z by imp
  
  getopt returns an int, not a char.  Make sure that we store the
  variable in an int to avoid casting to an unsigned value which causes
  the comparison with -1 to fail.
  
  PR:             123807
  Submitted by:   Matthew Luckie
  Reviewed by:    keramida@
  MFC after:      1 week
  
  Revision  Changes    Path
  1.12      +1 -1      src/usr.sbin/timed/timed/timed.c