diff options
-rw-r--r-- | i386/i386/db_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c index 252ad7e..be0c893 100644 --- a/i386/i386/db_interface.c +++ b/i386/i386/db_interface.c @@ -501,7 +501,7 @@ db_search_null( register unsigned *kaddr; kaddr = (unsigned *)*skaddr; - for (vaddr = *svaddr; vaddr > evaddr; vaddr -= sizeof(unsigned)) { + for (vaddr = *svaddr; vaddr > evaddr; ) { if (vaddr % INTEL_PGBYTES == 0) { vaddr -= sizeof(unsigned); if (db_user_to_kernel_address(task, vaddr, skaddr, 0) < 0) |