Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/regress/sys/uvm/mmap less magic constant.



details:   https://anonhg.NetBSD.org/src/rev/71b09e8beec5
branches:  trunk
changeset: 555814:71b09e8beec5
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Nov 29 19:09:21 2003 +0000

description:
less magic constant.

diffstat:

 regress/sys/uvm/mmap/mmap.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 725a99db9524 -r 71b09e8beec5 regress/sys/uvm/mmap/mmap.c
--- a/regress/sys/uvm/mmap/mmap.c       Sat Nov 29 19:06:48 2003 +0000
+++ b/regress/sys/uvm/mmap/mmap.c       Sat Nov 29 19:09:21 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mmap.c,v 1.15 2003/10/07 00:17:09 thorpej Exp $        */
+/*     $NetBSD: mmap.c,v 1.16 2003/11/29 19:09:21 yamt Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -162,7 +162,7 @@
 
        printf("    CHECKING RESIDENCY\n");
 
-       if (check_residency(addr, npgs) != 128) {
+       if (check_residency(addr, npgs) != npgs) {
                printf("    RESIDENCY CHECK FAILED!\n");
                ecode = 1;
        }



Home | Main Index | Thread Index | Old Index