Skip to content

Commit

Permalink
makefs: spelling
Browse files Browse the repository at this point in the history
Obtained from:	OpenBSD msdosfs_fat.c 1.7
  • Loading branch information
emaste committed Mar 30, 2023
1 parent 9faa27f commit 1fb7d2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions usr.sbin/makefs/msdos/msdosfs_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,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;
Expand Down Expand Up @@ -668,7 +668,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.
Expand Down Expand Up @@ -737,7 +737,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));
Expand Down

0 comments on commit 1fb7d2c

Please sign in to comment.