From e639e6b7f1514477f38d4c9892196ca696585c14 Mon Sep 17 00:00:00 2001 From: briggs Date: Mon, 31 Mar 1997 12:59:11 +0000 Subject: [PATCH] PR#140, Fix from David Leonard . Prevents endless loop for Egret and Cuda ADB. --- sys/arch/mac68k/dev/adb_direct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/mac68k/dev/adb_direct.c b/sys/arch/mac68k/dev/adb_direct.c index 7ffe00c57a7..c2f083cf0ad 100644 --- a/sys/arch/mac68k/dev/adb_direct.c +++ b/sys/arch/mac68k/dev/adb_direct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_direct.c,v 1.2 1997/03/29 17:26:59 briggs Exp $ */ +/* $OpenBSD: adb_direct.c,v 1.3 1997/03/31 12:59:11 briggs Exp $ */ /* adb_direct.c 1.91 1/20/97 jpw */ /* @@ -1959,7 +1959,7 @@ adb_read_date_time(unsigned long *time) { u_char output[MAX_ADB_MSG_LENGTH]; int result; - int flag = 0; + volatile int flag = 0; switch (adbHardware) { case ADB_HW_II: -- 2.20.1