Date: Wed, 16 Dec 1998 09:34:06 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libutil setproctitle.c Message-ID: <199812161734.JAA26441@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812161734.JAA26441>
