aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/makefs/msdos/msdosfs_fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/makefs/msdos/msdosfs_fat.c')
-rw-r--r--usr.sbin/makefs/msdos/msdosfs_fat.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/makefs/msdos/msdosfs_fat.c b/usr.sbin/makefs/msdos/msdosfs_fat.c
index 0081e2d2d38c..16e2ce44084d 100644
--- a/usr.sbin/makefs/msdos/msdosfs_fat.c
+++ b/usr.sbin/makefs/msdos/msdosfs_fat.c
@@ -1,4 +1,3 @@
-/* $FreeBSD$ */
/* $NetBSD: msdosfs_fat.c,v 1.28 1997/11/17 15:36:49 ws Exp $ */
/*-
@@ -135,7 +134,7 @@ pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp)
int error;
u_long i;
u_long cn;
- u_long prevcn = 0; /* XXX: prevcn could be used unititialized */
+ u_long prevcn = 0; /* XXX: prevcn could be used uninitialized */
u_long byteoffset;
u_long bn;
u_long bo;
@@ -246,7 +245,7 @@ pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int *sp)
return (0);
}
-hiteof:;
+hiteof:
if (cnp)
*cnp = i;
if (bp)
@@ -668,7 +667,7 @@ chainlength(struct msdosfsmount *pmp, u_long start, u_long count)
}
/*
- * Allocate contigous free clusters.
+ * Allocate contiguous free clusters.
*
* pmp - mount point.
* start - start of cluster chain.
@@ -737,7 +736,7 @@ clusteralloc1(struct msdosfsmount *pmp, u_long start, u_long count,
{
u_long idx;
u_long len, newst, foundl, cn, l;
- u_long foundcn = 0; /* XXX: foundcn could be used unititialized */
+ u_long foundcn = 0; /* XXX: foundcn could be used uninitialized */
u_int map;
MSDOSFS_DPRINTF(("clusteralloc(): find %lu clusters\n", count));