lets say NOTIMPL if /proc is not mounted. freebsd 5.x does not mount /proc

by default.
This commit is contained in:
Doug MacEachern 2005-02-16 17:56:31 +00:00
parent 5e065145e5
commit 2ee1013aad
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@
#define PROCFS_STATUS(status) \
((((status) != SIGAR_OK) && !sigar->proc_mounted) ? \
SIGAR_EPROC_NOENT : status)
SIGAR_ENOTIMPL : status)
static int get_koffsets(sigar_t *sigar)
{