Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 07:40:30 +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/sys/kern kern_ntptime.c
Message-ID:  <200701120740.l0C7eULD026513@repoman.freebsd.org>

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



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