PROT_EXECUTE -> PROT_EXEC

This commit is contained in:
Jasper Lievisse Adriaanse
2015-12-11 14:59:11 +01:00
parent 7925f83b57
commit fcfacf3213

View File

@@ -284,7 +284,7 @@ glibtop_get_proc_map_p (glibtop *server, glibtop_proc_map *buf,
mentry->perm |= GLIBTOP_MAP_PERM_READ;
if (entry->protection & PROT_WRITE)
mentry->perm |= GLIBTOP_MAP_PERM_WRITE;
if (entry->protection & PROT_EXECUTE)
if (entry->protection & PROT_EXEC)
mentry->perm |= GLIBTOP_MAP_PERM_EXECUTE;
}