summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-11 16:43:03 +0000
committerMiles Bader <miles@gnu.org>1995-05-11 16:43:03 +0000
commitd48fc8d01f4524b9e8d6810d54176496cdb6ec6d (patch)
tree492b81a62e5f54d1a62229d78964215dbc9e2c27 /libpager
parentf2e54d6e2259f204530404e157b4d10af79392d6 (diff)
(PM_NEXTERROR, SET_PM_NEXTERROR): Mask 2-bit error code with 0x3, not 0x2!
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);