diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-07-25 13:27:20 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-07-25 13:27:20 +0000 |
commit | 5add92953eca506efb92195019815f33d8a4766b (patch) | |
tree | b1ad8fa438c57d5e4ffd0c42478a4407cd76f326 /usr.sbin/makefs/msdos | |
parent | 2da6fd55d9e4d2538d337948e04bd3843bbbd0f7 (diff) | |
download | src-5add92953eca506efb92195019815f33d8a4766b.tar.gz src-5add92953eca506efb92195019815f33d8a4766b.zip |
makefs: whitespace cleanup in msdos files
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=336706
Diffstat (limited to 'usr.sbin/makefs/msdos')
-rw-r--r-- | usr.sbin/makefs/msdos/msdosfs_vfsops.c | 10 | ||||
-rw-r--r-- | usr.sbin/makefs/msdos/msdosfs_vnops.c | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/makefs/msdos/msdosfs_vfsops.c b/usr.sbin/makefs/msdos/msdosfs_vfsops.c index be15d535bf38..be149afe4aab 100644 --- a/usr.sbin/makefs/msdos/msdosfs_vfsops.c +++ b/usr.sbin/makefs/msdos/msdosfs_vfsops.c @@ -108,7 +108,7 @@ msdosfs_mount(struct vnode *devvp, int flags) if (!(flags & MSDOSFSMNT_GEMDOSFS)) { if (bsp->bs50.bsBootSectSig0 != BOOTSIG0 || bsp->bs50.bsBootSectSig1 != BOOTSIG1) { - DPRINTF(("bootsig0 %d bootsig1 %d\n", + DPRINTF(("bootsig0 %d bootsig1 %d\n", bsp->bs50.bsBootSectSig0, bsp->bs50.bsBootSectSig1)); error = EINVAL; @@ -142,10 +142,10 @@ msdosfs_mount(struct vnode *devvp, int flags) pmp->pm_SecPerTrack, pmp->pm_Heads, pmp->pm_Media)); if (!(flags & MSDOSFSMNT_GEMDOSFS)) { /* XXX - We should probably check more values here */ - if (!pmp->pm_BytesPerSec || !SecPerClust - || pmp->pm_SecPerTrack > 63) { + if (!pmp->pm_BytesPerSec || !SecPerClust + || pmp->pm_SecPerTrack > 63) { DPRINTF(("bytespersec %d secperclust %d " - "secpertrack %d\n", + "secpertrack %d\n", pmp->pm_BytesPerSec, SecPerClust, pmp->pm_SecPerTrack)); error = EINVAL; @@ -317,7 +317,7 @@ msdosfs_mount(struct vnode *devvp, int flags) * must be a power of 2 */ if (pmp->pm_bpcluster ^ (1 << pmp->pm_cnshift)) { - DPRINTF(("bpcluster %lu cnshift %lu\n", + DPRINTF(("bpcluster %lu cnshift %lu\n", pmp->pm_bpcluster, pmp->pm_cnshift)); error = EINVAL; goto error_exit; diff --git a/usr.sbin/makefs/msdos/msdosfs_vnops.c b/usr.sbin/makefs/msdos/msdosfs_vnops.c index 20a81c9cd37d..270e045b4ba5 100644 --- a/usr.sbin/makefs/msdos/msdosfs_vnops.c +++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c @@ -101,7 +101,7 @@ msdosfs_times(struct msdosfsmount *pmp, struct denode *dep, struct timespec at; struct timespec mt; - if (stampst.st_ino) + if (stampst.st_ino) st = &stampst; #ifndef HAVE_NBTOOL_CONFIG_H @@ -133,7 +133,7 @@ msdosfs_times(struct msdosfsmount *pmp, struct denode *dep, * memory denode's will be in synch. */ static int -msdosfs_findslot(struct denode *dp, struct componentname *cnp) +msdosfs_findslot(struct denode *dp, struct componentname *cnp) { daddr_t bn; int error; @@ -494,7 +494,7 @@ msdosfs_wfile(const char *path, struct denode *dep, fsnode *node) 0, &bp)) != 0) { DPRINTF(("bread %d\n", error)); goto out; - } + } cpsize = MIN((nsize - offs), blsize - on); memcpy((char *)bp->b_data + on, dat + offs, cpsize); bwrite(bp); |