Fix a warning - make sure the register is read regardless of the debugging

options.
This commit is contained in:
peter 1999-05-06 22:09:55 +00:00
parent 28b30d72a3
commit 69f3b492e8

View File

@ -293,7 +293,8 @@ sscapeintr(int irq)
{
u_char bits, tmp;
DEB(printf("sscapeintr(0x%02x)\n", (bits = sscape_read(devc, GA_INTSTAT_REG))));
bits = sscape_read(devc, GA_INTSTAT_REG);
DEB(printf("sscapeintr(0x%02x)\n", bits));
if ((sscape_sleep_flag.mode & WK_SLEEP)) {
sscape_sleep_flag.mode = WK_WAKEUP;
wakeup(sscape_sleeper);