summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
Diffstat (limited to 'libpager')
-rw-r--r--libpager/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpager/priv.h b/libpager/priv.h
index b826b37a..b1b822d4 100644
--- a/libpager/priv.h
+++ b/libpager/priv.h
@@ -122,8 +122,8 @@ int _pager_page_errors[];
/* Issue this error on next data_request, but only if it asks for
write access. */
-#define PM_NEXTERROR(byte) ((byte) & 0x2)
-#define SET_PM_NEXTERROR(byte,err) (((byte) & ~0x2) | (err))
+#define PM_NEXTERROR(byte) ((byte) & 0x3)
+#define SET_PM_NEXTERROR(byte,err) (((byte) & ~0x3) | (err))
void _pager_wait_for_seqno (struct pager *, int);