kern.boottime is empty

2007-01-05 Thread Jeremy C. Reed
sysctl of kern.boottime returns nothing.

I see the sysctl code had a handler for timeval format.

This is on 1.7.0-DEVELOPMENT from October. (No changes in sbin/sysctl in 
long time.)

Anyone else see this?

$ sysctl kern.boottime
$ sysctl -x kern.boottime
kern.boottime: Format:S,timespec Length:8 Dump:0x48728945



Re: kern.boottime is empty

2007-01-05 Thread Simon 'corecode' Schubert

Jeremy C. Reed wrote:

sysctl of kern.boottime returns nothing.

I see the sysctl code had a handler for timeval format.

This is on 1.7.0-DEVELOPMENT from October. (No changes in sbin/sysctl in 
long time.)


Anyone else see this?

$ sysctl kern.boottime
$ sysctl -x kern.boottime
kern.boottime: Format:S,timespec Length:8 Dump:0x48728945


yea, timespec != timeval.  I've committed a fix.

cheers
 simon

--
Serve - BSD +++  RENT this banner advert  +++ASCII Ribbon   /\
Work - Mac  +++  space for low €€€ NOW!1  +++  Campaign \ /
Party Enjoy Relax   |   http://dragonflybsd.org  Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz   Mail + News   / \


Re: kern.boottime is empty

2007-01-05 Thread Jeremy C. Reed
On Fri, 5 Jan 2007, Simon 'corecode' Schubert wrote:

 Jeremy C. Reed wrote:
  sysctl of kern.boottime returns nothing.
  
  I see the sysctl code had a handler for timeval format.
  
  This is on 1.7.0-DEVELOPMENT from October. (No changes in sbin/sysctl in
  long time.)
  
  Anyone else see this?
  
  $ sysctl kern.boottime
  $ sysctl -x kern.boottime
  kern.boottime: Format:S,timespec Length:8 Dump:0x48728945
 
 yea, timespec != timeval.  I've committed a fix.

Thanks. I read it the same. Thanks for the extra eyes. And extra thanks 
for the fix.