diff options
author | briggs <briggs@cvs.openbsd.org> | 1997-03-31 12:59:12 +0000 |
---|---|---|
committer | briggs <briggs@cvs.openbsd.org> | 1997-03-31 12:59:12 +0000 |
commit | 543782ca2831a274e9df4291287aa91c014cec27 (patch) | |
tree | ea942c31bb5f189a024ba32fc1f166f103b32f54 /sys/arch/mac68k/dev/adb_direct.c | |
parent | 18d305a3a1ac1d20d71b38598d24f5b25ac9f42d (diff) |
PR#140, Fix from David Leonard <d@occult.fnarg.net.au>. Prevents endless loop
for Egret and Cuda ADB.
Diffstat (limited to 'sys/arch/mac68k/dev/adb_direct.c')
-rw-r--r-- | sys/arch/mac68k/dev/adb_direct.c | 4 |
1 files 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: |