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

Warner Losh imp at
Mon Jun 2 04:50:56 UTC 2008

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

  FreeBSD src repository

  Modified files:
    usr.sbin/timed/timed timed.c 
  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

More information about the cvs-src mailing list