Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/stand/prekern Mmh, should be <=.
details: https://anonhg.NetBSD.org/src/rev/016ad0d9ec9c
branches: trunk
changeset: 357573:016ad0d9ec9c
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Nov 15 20:25:29 2017 +0000
description:
Mmh, should be <=.
diffstat:
sys/arch/amd64/stand/prekern/mm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r bda575c863b6 -r 016ad0d9ec9c sys/arch/amd64/stand/prekern/mm.c
--- a/sys/arch/amd64/stand/prekern/mm.c Wed Nov 15 18:44:34 2017 +0000
+++ b/sys/arch/amd64/stand/prekern/mm.c Wed Nov 15 20:25:29 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mm.c,v 1.15 2017/11/15 18:44:34 maxv Exp $ */
+/* $NetBSD: mm.c,v 1.16 2017/11/15 20:25:29 maxv Exp $ */
/*
* Copyright (c) 2017 The NetBSD Foundation, Inc. All rights reserved.
@@ -350,7 +350,7 @@
vaddr_t randva;
char pad;
- if (elfsz < PAGE_SIZE) {
+ if (elfsz <= PAGE_SIZE) {
pagesz = NBPD_L1;
} else {
pagesz = NBPD_L2;
Home |
Main Index |
Thread Index |
Old Index