aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elymas/memdump.ey2
1 files changed, 1 insertions, 1 deletions
diff --git a/elymas/memdump.ey b/elymas/memdump.ey
index 8643078..d86f095 100644
--- a/elymas/memdump.ey
+++ b/elymas/memdump.ey
@@ -30,7 +30,7 @@ txt .consume .|hu "%" deffd
sys .linux "+" via
<
- "shared" +ORDONLY 0 +open ==fd
+ "shared\0" +ORDONLY 0 +open ==fd
fd +fstat -- # TODO: handle errors
.size ==s
ELFBASE s +PROTREAD +MAPPRIVATE fd 0 +mmap ELFBASE eq assert