From 988e6e54242b61acc805818028f45025ae2aba62 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 4 Jan 2006 22:46:20 +0000 Subject: [PATCH] EPERM_KMEM will map to SigarPermissionDeniedException --- src/os/darwin/sigar_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/darwin/sigar_os.h b/src/os/darwin/sigar_os.h index 8d3da364..61ed2e15 100644 --- a/src/os/darwin/sigar_os.h +++ b/src/os/darwin/sigar_os.h @@ -32,7 +32,7 @@ struct sigar_t { #endif }; -#define SIGAR_EPERM_KMEM (SIGAR_OS_START_ERROR+1) +#define SIGAR_EPERM_KMEM (SIGAR_OS_START_ERROR+EACCES) #define SIGAR_EPROC_NOENT (SIGAR_OS_START_ERROR+2) #endif /* SIGAR_OS_H */