cvs commit: src/sys/kern kern_ntptime.c

Warner Losh imp at FreeBSD.org
Fri Jan 12 07:40:30 UTC 2007


imp         2007-01-12 07:40:30 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_ntptime.c 
  Log:
  When ntp_gettime() was converted from a sysctl + wrapper to a system
  call, its semantics were unintentionally changed.  It went from
  returning the time state to returning 0 or -1.  Since 0 means time
  normal, and non-zero effectively only shows up around leap seconds,
  this went unnoticed until now.  At least unnoticed until someone was
  trying to run a binary they didn't have source for and it was
  misbehaving...
  
  Submitted by: Judah Levine
  MFC After: 2 weeks
  
  Revision  Changes    Path
  1.61      +1 -0      src/sys/kern/kern_ntptime.c


More information about the cvs-src mailing list