From 543782ca2831a274e9df4291287aa91c014cec27 Mon Sep 17 00:00:00 2001 From: briggs Date: Mon, 31 Mar 1997 12:59:12 +0000 Subject: 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(-) (limited to 'sys/arch/mac68k/dev') 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: -- cgit v1.2.3