summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-08 09:23:24 +0000
committerdfr <dfr@FreeBSD.org>1998-06-08 09:23:24 +0000
commitfaa17713f8d56432bac81058b7e1d2596e19c5b1 (patch)
tree4691567fb4448c786b79c911ac9ee8e3f191e3e3 /sys
parent707faaecf682b61d358756e0380763b66a3d4af3 (diff)
downloadFreeBSD-src-faa17713f8d56432bac81058b7e1d2596e19c5b1.zip
FreeBSD-src-faa17713f8d56432bac81058b7e1d2596e19c5b1.tar.gz
Fix more of my DDB breakage.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/db_interface.c6
-rw-r--r--sys/i386/i386/db_interface.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c
index 1604d46..3f5f893 100644
--- a/sys/amd64/amd64/db_interface.c
+++ b/sys/amd64/amd64/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
+ * $Id: db_interface.c,v 1.40 1998/06/08 08:43:20 dfr Exp $
*/
/*
@@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
- while (size-- != 0)
+ while (size-- > 0)
*data++ = *src++;
db_nofault = 0;
@@ -275,7 +275,7 @@ db_write_bytes(addr, size, data)
dst = (char *)addr;
- while (--size >= 0)
+ while (size-- > 0)
*dst++ = *data++;
db_nofault = 0;
diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c
index 1604d46..3f5f893 100644
--- a/sys/i386/i386/db_interface.c
+++ b/sys/i386/i386/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
+ * $Id: db_interface.c,v 1.40 1998/06/08 08:43:20 dfr Exp $
*/
/*
@@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
- while (size-- != 0)
+ while (size-- > 0)
*data++ = *src++;
db_nofault = 0;
@@ -275,7 +275,7 @@ db_write_bytes(addr, size, data)
dst = (char *)addr;
- while (--size >= 0)
+ while (size-- > 0)
*dst++ = *data++;
db_nofault = 0;
OpenPOWER on IntegriCloud