summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/msdosfs/msdosfs_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c
index 06378a14060..578a25d23e3 100644
--- a/sys/msdosfs/msdosfs_vnops.c
+++ b/sys/msdosfs/msdosfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_vnops.c,v 1.53 2005/03/14 22:31:52 tom Exp $ */
+/* $OpenBSD: msdosfs_vnops.c,v 1.54 2005/10/08 09:38:22 tom Exp $ */
/* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */
/*-
@@ -1187,7 +1187,7 @@ abortit:
goto bad;
}
dotdotp = (struct direntry *)bp->b_data;
- putushort(dotdotp[0].deStartCluster, dp->de_StartCluster);
+ putushort(dotdotp[0].deStartCluster, cn);
pcl = dp->de_StartCluster;
if (FAT32(pmp) && pcl == pmp->pm_rootdirblk)
pcl = 0;