Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm it is with great chagrin that I must fix yet another...
details: https://anonhg.NetBSD.org/src/rev/30c0b7984603
branches: trunk
changeset: 516107:30c0b7984603
user: chs <chs%NetBSD.org@localhost>
date: Tue Oct 16 05:56:23 2001 +0000
description:
it is with great chagrin that I must fix yet another 64-bit math bug.
diffstat:
sys/uvm/uvm_bio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 9e800f47a1da -r 30c0b7984603 sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Tue Oct 16 05:52:39 2001 +0000
+++ b/sys/uvm/uvm_bio.c Tue Oct 16 05:56:23 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_bio.c,v 1.19 2001/09/28 11:59:55 chs Exp $ */
+/* $NetBSD: uvm_bio.c,v 1.20 2001/10/16 05:56:23 chs Exp $ */
/*
* Copyright (c) 1998 Chuck Silvers.
@@ -256,9 +256,9 @@
KASSERT(vp != NULL);
npages = MIN(ubc_winsize - slot_offset,
- (int)(round_page(MAX(vp->v_size, umap->offset +
- umap->writeoff + umap->writelen)) -
- umap->offset)) >> PAGE_SHIFT;
+ (round_page(MAX(vp->v_size, umap->offset +
+ umap->writeoff + umap->writelen)) -
+ umap->offset)) >> PAGE_SHIFT;
again:
memset(pgs, 0, sizeof (pgs));
Home |
Main Index |
Thread Index |
Old Index