From owner-cvs-all Tue Jun 4 1:45:45 2002 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 A4D7137B410; Tue, 4 Jun 2002 01:45:38 -0700 (PDT) Received: (from tjr@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g548jcr60331; Tue, 4 Jun 2002 01:45:38 -0700 (PDT) (envelope-from tjr) Message-Id: <200206040845.g548jcr60331@freefall.freebsd.org> From: "Tim J. Robbins" Date: Tue, 4 Jun 2002 01:45:38 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/getconf getconf.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 tjr 2002/06/04 01:45:38 PDT Modified files: usr.bin/getconf getconf.c Log: confstr() returns (size_t)-1 on failure. Check for this explicitly instead of trying to see if an unsigned number is less than zero. Revision Changes Path 1.3 +2 -2 src/usr.bin/getconf/getconf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message