fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES
This commit is contained in:
parent
90b2ade95e
commit
c43b43ae03
|
@ -66,6 +66,6 @@ struct sigar_t {
|
||||||
|
|
||||||
#define HAVE_STRERROR_R
|
#define HAVE_STRERROR_R
|
||||||
|
|
||||||
#define SIGAR_EPERM_KMEM (SIGAR_OS_START_ERROR+1)
|
#define SIGAR_EPERM_KMEM (SIGAR_OS_START_ERROR+EACCES)
|
||||||
|
|
||||||
#endif /* SIGAR_OS_H */
|
#endif /* SIGAR_OS_H */
|
||||||
|
|
Loading…
Reference in New Issue