lets say NOTIMPL if /proc is not mounted. freebsd 5.x does not mount /proc
by default.
This commit is contained in:
1 parent
5e065145e5
commit
2ee1013aad
1 file changed
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user