Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/arm32/arm32 pull up rev 1.14 from trunk (reque...
details: https://anonhg.NetBSD.org/src/rev/3009b310cc9a
branches: netbsd-1-4
changeset: 469672:3009b310cc9a
user: cgd <cgd%NetBSD.org@localhost>
date: Sun Nov 07 22:05:46 1999 +0000
description:
pull up rev 1.14 from trunk (requested by cgd):
Fix potential overflow of v_usecount and v_writecount (and panics
resulting from this) by widening them to `long'. Mostly affects
systems where maxvnodes>=32768.
diffstat:
sys/arch/arm32/arm32/db_machdep.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 37f7731a8c32 -r 3009b310cc9a sys/arch/arm32/arm32/db_machdep.c
--- a/sys/arch/arm32/arm32/db_machdep.c Fri Nov 05 08:12:13 1999 +0000
+++ b/sys/arch/arm32/arm32/db_machdep.c Sun Nov 07 22:05:46 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.c,v 1.11.2.2 1999/04/12 21:27:04 pk Exp $ */
+/* $NetBSD: db_machdep.c,v 1.11.2.3 1999/11/07 22:05:46 cgd Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@@ -77,7 +77,7 @@
db_printf("vp->v_flag = %ld\n", vp->v_flag);
db_printf("vp->v_numoutput = %ld\n", vp->v_numoutput);
- db_printf("type %s, usecount %d, writecount %d, refcount %ld,",
+ db_printf("type %s, usecount %ld, writecount %ld, refcount %ld,",
typename[vp->v_type], vp->v_usecount, vp->v_writecount,
vp->v_holdcnt);
buf[0] = '\0';
Home |
Main Index |
Thread Index |
Old Index