]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
procstat_getpathname: for kvm method, instead of returning the error
authorMikolaj Golub <trociny@FreeBSD.org>
Wed, 1 May 2013 15:02:58 +0000 (15:02 +0000)
committerMikolaj Golub <trociny@FreeBSD.org>
Wed, 1 May 2013 15:02:58 +0000 (15:02 +0000)
commitdd70ad64bf8714ba3e6ce0df49ced3e58014cb67
treef11333531413c5355563d5caceace8c5d3236fd3
parent1f84c47e42cff297d9454c73ac9452fea84974cb
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