Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Omitted assigning handle return value for the case:
details: https://anonhg.NetBSD.org/src/rev/83fb0809bacb
branches: trunk
changeset: 349778:83fb0809bacb
user: cherry <cherry%NetBSD.org@localhost>
date: Fri Dec 23 07:42:32 2016 +0000
description:
Omitted assigning handle return value for the case:
(VM_PHYSSEG_STRAT == VM_PSTRAT_RANDOM)
Fix this.
diffstat:
sys/uvm/uvm_physseg.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r ad1c38018522 -r 83fb0809bacb sys/uvm/uvm_physseg.c
--- a/sys/uvm/uvm_physseg.c Fri Dec 23 07:40:05 2016 +0000
+++ b/sys/uvm/uvm_physseg.c Fri Dec 23 07:42:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_physseg.c,v 1.2 2016/12/22 08:15:20 cherry Exp $ */
+/* $NetBSD: uvm_physseg.c,v 1.3 2016/12/23 07:42:32 cherry Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -818,6 +818,7 @@
#if (VM_PHYSSEG_STRAT == VM_PSTRAT_RANDOM)
/* random: put it at the end (easy!) */
ps = VM_PHYSMEM_PTR(vm_nphysmem);
+ lcv = vm_nphysmem;
#elif (VM_PHYSSEG_STRAT == VM_PSTRAT_BSEARCH)
{
int x;
Home |
Main Index |
Thread Index |
Old Index