Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2008 04:50:47 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/timed/timed timed.c
Message-ID:  <200806020450.m524ouNc076284@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806020450.m524ouNc076284>