From owner-cvs-all Wed Dec 16 09:34:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA15215 for cvs-all-outgoing; Wed, 16 Dec 1998 09:34:06 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA15209; Wed, 16 Dec 1998 09:34:05 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA26441; Wed, 16 Dec 1998 09:34:06 -0800 (PST) Date: Wed, 16 Dec 1998 09:34:06 -0800 (PST) Message-Id: <199812161734.JAA26441@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libutil setproctitle.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/12/16 09:34:06 PST Modified files: lib/libutil setproctitle.c Log: Adjust for kern.ps_strings and PS_STRINGS not being a pointer. This is an unimprovement here. I thought it would be an improvement, as in libkvm, but here we can access the strings directly. Use sysctlbyname() instead of sysctl() and trust it to give a nonzero address if it succeeds. Revision Changes Path 1.8 +7 -8 src/lib/libutil/setproctitle.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message