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/b855438a60f5
branches: trunk
changeset: 827874:b855438a60f5
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 00f225f39e77 -r b855438a60f5 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