From 057dcf77d63700b97f5c146cb35b1026f516eaec Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Tue, 18 Nov 2014 19:33:38 +0100 Subject: [PATCH] Sync with OpenBSD's uvm_extern.h changes --- sysdeps/openbsd/procmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/openbsd/procmap.c b/sysdeps/openbsd/procmap.c index 8bc67dad..f94ddc06 100644 --- a/sysdeps/openbsd/procmap.c +++ b/sysdeps/openbsd/procmap.c @@ -280,11 +280,11 @@ glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf, mentry->perm = (guint64) 0; - if (entry->protection & VM_PROT_READ) + if (entry->protection & PROT_READ) mentry->perm |= GLIBTOP_MAP_PERM_READ; - if (entry->protection & VM_PROT_WRITE) + if (entry->protection & PROT_WRITE) mentry->perm |= GLIBTOP_MAP_PERM_WRITE; - if (entry->protection & VM_PROT_EXECUTE) + if (entry->protection & PROT_EXECUTE) mentry->perm |= GLIBTOP_MAP_PERM_EXECUTE; }