Subject: CVS commit: basesrc/sbin/sysctl
To: None <source-changes@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 11/03/2002 09:06:07
Module Name: basesrc
Committed By: simonb
Date: Sun Nov 3 07:06:07 UTC 2002
Modified Files:
basesrc/sbin/sysctl: sysctl.c
Log Message:
When printing out nodes of type "string", don't print anything if
sysctl() reports that 0 bytes were returned.
Reported by Matt Green with "sysctl hw.disknames" on a system with no
disks.
To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 basesrc/sbin/sysctl/sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.