]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
procstat_getpathname: for kvm method, instead of returning the error
authortrociny <trociny@FreeBSD.org>
Wed, 1 May 2013 15:02:58 +0000 (15:02 +0000)
committertrociny <trociny@FreeBSD.org>
Wed, 1 May 2013 15:02:58 +0000 (15:02 +0000)
commit8b709cd257fd06afd54fa6c29cea98814e28c1f5
treef11333531413c5355563d5caceace8c5d3236fd3
parent49b0478cb530a5afcadbfee861032ec8956962e1
procstat_getpathname: for kvm method, instead of returning the error
that the method is not supported, return an empty string.

This looks more handy for callers like procstat(1), which will not
abort after the failed call and still output some useful information.

MFC after: 3 weeks
lib/libprocstat/libprocstat.c