summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/ddb
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-10-05 22:20:29 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-10-05 22:20:29 +0000
commit0c61438d074bd2243a0a96056cf290a5fae5dd2f (patch)
tree7de5e6b06ab6336bbecfb0692e51cbb76e089a00 /sys/arch/mvme88k/ddb
parent52f594bec874f8eae1a4ff2542678c753da02746 (diff)
Bang head against wall, unbreak ddb, do not collect $2000, and go to sleep.
Diffstat (limited to 'sys/arch/mvme88k/ddb')
-rw-r--r--sys/arch/mvme88k/ddb/db_interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/ddb/db_interface.c b/sys/arch/mvme88k/ddb/db_interface.c
index 12e146b89c5..e3481d15360 100644
--- a/sys/arch/mvme88k/ddb/db_interface.c
+++ b/sys/arch/mvme88k/ddb/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.29 2003/10/05 20:23:52 miod Exp $ */
+/* $OpenBSD: db_interface.c,v 1.30 2003/10/05 22:20:28 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -528,7 +528,7 @@ db_read_bytes(db_addr_t addr, size_t size, char *data)
src = (char *)addr;
- while(--size >= 0) {
+ while(size-- > 0) {
*data++ = *src++;
}
}
@@ -548,7 +548,7 @@ db_write_bytes(db_addr_t addr, size_t size, char *data)
dst = (char *)addr;
- while (--size >= 0) {
+ while (size-- > 0) {
*dst++ = *data++;
}
/* XXX test return value */