Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jan 2009 00:19:51 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_sysctl.c
Message-ID:  <200901010020.n010K5SQ007880@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-01-01 00:19:51 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_sysctl.c 
  Log:
  SVN rev 186664 on 2009-01-01 00:19:51Z by ed
  
  Don't clobber sysctl_root()'s error number.
  
  When sysctl() is being called with a buffer that is too small, it will
  return ENOMEM. Unfortunately the changes I made the other day sets the
  error number to 0, because it just returns the error number of the
  copyout(). Revert this part of the change.
  
  Revision  Changes    Path
  1.185     +5 -2      src/sys/kern/kern_sysctl.c



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