]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Various quibbles:
authorDavid Schultz <das@FreeBSD.org>
Wed, 28 Apr 2004 01:27:36 +0000 (01:27 +0000)
committerDavid Schultz <das@FreeBSD.org>
Wed, 28 Apr 2004 01:27:36 +0000 (01:27 +0000)
commit87a99f5ff2ef9a20daa1a62949a4af688c01ce9f
tree971455053e3adf5ce3370b320b021a1839d7a37e
parent06afcd9d10d89ee6dc3d48f4077ca0c2d0b9c941
Various quibbles:
- Print a diagnostic if kdumpenv() fails.  This can occur due to MAC
  restrictions or lack of memory.  Catch all kenv(2) failures as well.
- Just of the heck of it, DTRT if the kernel environment size changes
  at the wrong time.  The old code could fail silently or fail to
  null-terminate a buffer if you got exceptionally unlucky.
- Sort and GC the #includes.
bin/kenv/kenv.c