From 25b430f13a828f6e83c309e6bff9b5d2f0d85b0d Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Fri, 10 Dec 2021 23:37:05 +0100 Subject: fix type in constant --- src/x86_64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/x86_64.rs') diff --git a/src/x86_64.rs b/src/x86_64.rs index ac153e9..db1e922 100644 --- a/src/x86_64.rs +++ b/src/x86_64.rs @@ -155,5 +155,5 @@ mod x86_64 { /// Page region read/write. /// /// If set, region reference by paging entry is writeable. - pub const PAGE_RENTRY_RW: u64 = 1 << 1; + pub const PAGE_ENTRY_RW: u64 = 1 << 1; } -- cgit v1.2.3