From owner-cvs-all Sat Jun 2 21:58:55 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id C1EFF37B422; Sat, 2 Jun 2001 21:58:51 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.1/8.11.1) id f534wpv03246;
Sat, 2 Jun 2001 21:58:51 -0700 (PDT)
(envelope-from dd)
Message-Id: <200106030458.f534wpv03246@freefall.freebsd.org>
From: Dima Dorfman
Date: Sat, 2 Jun 2001 21:58:51 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/sys/kern kern_sysctl.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2001/06/02 21:58:51 PDT
Modified files:
sys/kern kern_sysctl.c
Log:
When tring to find out if this is a request for a write in
kernel_sysctl and userland_sysctl, check for whether new is NULL, not
whether newlen is 0. This allows one to set a string sysctl to "".
Revision Changes Path
1.108 +3 -3 src/sys/kern/kern_sysctl.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message