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

by default.
This commit is contained in:
Doug MacEachern committed 2005-02-16 17:56:31 +00:00
1 parent 5e065145e5
commit 2ee1013aad
1 file changed
+1 -1
+1 -1
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)
{