From d48fc8d01f4524b9e8d6810d54176496cdb6ec6d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 11 May 1995 16:43:03 +0000 Subject: (PM_NEXTERROR, SET_PM_NEXTERROR): Mask 2-bit error code with 0x3, not 0x2! --- libpager/priv.h | 4 ++-- 1 file 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); -- cgit v1.2.3