]> Zhao Yanbai Git Server - minix.git/commitdiff
increment nph when printing physical regions; suggested by Guanqun Lu
authorBen Gras <ben@minix3.org>
Tue, 31 Mar 2009 14:26:24 +0000 (14:26 +0000)
committerBen Gras <ben@minix3.org>
Tue, 31 Mar 2009 14:26:24 +0000 (14:26 +0000)
servers/vm/region.c

index 0784b9db857e84d9ad6da6e3208a0d71a9a76aae..cf38a3dff76715bfd7e4cedcab61807a13b3adba 100644 (file)
@@ -71,6 +71,7 @@ struct vmproc *vmp;
                                vr->vaddr + ph->ph->offset + ph->ph->length,
                                ph->ph->refcount,
                                ph->ph->phys);
+                       nph++;
                }
                printf(" (phregions %d)\n", nph);
        }