Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/msdosfs Initialize 'frcn' to 0 in extendfile to be safe.
details: https://anonhg.NetBSD.org/src/rev/d48f9b9a9ced
branches: trunk
changeset: 500052:d48f9b9a9ced
user: fvdl <fvdl%NetBSD.org@localhost>
date: Mon Dec 04 11:54:39 2000 +0000
description:
Initialize 'frcn' to 0 in extendfile to be safe.
diffstat:
sys/msdosfs/msdosfs_fat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7322fce816d8 -r d48f9b9a9ced sys/msdosfs/msdosfs_fat.c
--- a/sys/msdosfs/msdosfs_fat.c Mon Dec 04 11:35:46 2000 +0000
+++ b/sys/msdosfs/msdosfs_fat.c Mon Dec 04 11:54:39 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msdosfs_fat.c,v 1.34 2000/11/27 08:39:46 chs Exp $ */
+/* $NetBSD: msdosfs_fat.c,v 1.35 2000/12/04 11:54:39 fvdl Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -975,7 +975,7 @@
int flags;
{
int error;
- u_long frcn, cn, got, origcount;
+ u_long frcn = 0, cn, got, origcount;
struct msdosfsmount *pmp = dep->de_pmp;
struct buf *bp;
Home |
Main Index |
Thread Index |
Old Index