diff options
author | dfr <dfr@FreeBSD.org> | 1998-06-08 08:43:20 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-06-08 08:43:20 +0000 |
commit | a7c0d1c5c91e63c7dc605fc2c4f9fb1a9c660d59 (patch) | |
tree | 00f2dbd6202ab195461bda0af1b62517cb3c1fd3 | |
parent | 12c0eabbe1dd532dadbb70846bbb86b0f2f0b97d (diff) | |
download | FreeBSD-src-a7c0d1c5c91e63c7dc605fc2c4f9fb1a9c660d59.zip FreeBSD-src-a7c0d1c5c91e63c7dc605fc2c4f9fb1a9c660d59.tar.gz |
Make DDB work again after I broke it :-(.
-rw-r--r-- | sys/amd64/amd64/db_interface.c | 4 | ||||
-rw-r--r-- | sys/ddb/db_examine.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/db_interface.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c index 1889d0a..1604d46 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.38 1997/11/20 18:09:36 bde Exp $ + * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 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; diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index 3214f61..a848ac7 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_examine.c,v 1.17 1997/04/01 14:31:05 bde Exp $ + * $Id: db_examine.c,v 1.18 1998/06/07 17:09:37 dfr Exp $ */ /* @@ -257,7 +257,7 @@ db_search_cmd(dummy1, dummy2, dummy3, dummy4) int size; db_expr_t value; db_expr_t mask; - db_expr_t count; + unsigned int count; t = db_read_token(); if (t == tSLASH) { diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c index 1889d0a..1604d46 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.38 1997/11/20 18:09:36 bde Exp $ + * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 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; |