From c43b43ae03f10e8b686906702dd03e4378fdd423 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 13 May 2009 16:56:08 -0700 Subject: [PATCH] fix so SigarPermissionDeniedException is throw on open /dev/kmem EACCES --- src/os/aix/sigar_os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/aix/sigar_os.h b/src/os/aix/sigar_os.h index 17ce10f8..a784c259 100644 --- a/src/os/aix/sigar_os.h +++ b/src/os/aix/sigar_os.h @@ -66,6 +66,6 @@ struct sigar_t { #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 */