lets say NOTIMPL if /proc is not mounted. freebsd 5.x does not mount /proc
by default.
This commit is contained in:
parent
5e065145e5
commit
2ee1013aad
@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
#define PROCFS_STATUS(status) \
|
#define PROCFS_STATUS(status) \
|
||||||
((((status) != SIGAR_OK) && !sigar->proc_mounted) ? \
|
((((status) != SIGAR_OK) && !sigar->proc_mounted) ? \
|
||||||
SIGAR_EPROC_NOENT : status)
|
SIGAR_ENOTIMPL : status)
|
||||||
|
|
||||||
static int get_koffsets(sigar_t *sigar)
|
static int get_koffsets(sigar_t *sigar)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user