summaryrefslogtreecommitdiffstats
path: root/sys/fs/msdosfs/msdosfs_fat.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-01-12 21:55:48 +0000
committeremaste <emaste@FreeBSD.org>2015-01-12 21:55:48 +0000
commitc3135c03925ede4077aa3906d9513f436f36d18e (patch)
treecd9f53a8c89436c5879480e58a310b5e653aba52 /sys/fs/msdosfs/msdosfs_fat.c
parent22ddb90cff7c098a4c80ba4a983368e3be56ddd9 (diff)
downloadFreeBSD-src-c3135c03925ede4077aa3906d9513f436f36d18e.zip
FreeBSD-src-c3135c03925ede4077aa3906d9513f436f36d18e.tar.gz
ANSIfy msdosfs
Add a few cases and style(9) fixes missed in r276887 Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/fs/msdosfs/msdosfs_fat.c')
-rw-r--r--sys/fs/msdosfs/msdosfs_fat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c
index 09febe5..3c17f00 100644
--- a/sys/fs/msdosfs/msdosfs_fat.c
+++ b/sys/fs/msdosfs/msdosfs_fat.c
@@ -111,6 +111,7 @@ fatblock(struct msdosfsmount *pmp, u_long ofs, u_long *bnp, u_long *sizep,
* If this pointer is null then don't return this quantity.
* cnp - address of where to place the filesystem relative cluster number.
* If this pointer is null then don't return this quantity.
+ * sp - pointer to returned block size
*
* NOTE: Either bnp or cnp must be non-null.
* This function has one side effect. If the requested file relative cluster
@@ -443,7 +444,8 @@ clusterfree(struct msdosfsmount *pmp, u_long cluster, u_long *oldcnp)
* the msdosfsmount structure. This is left to the caller.
*/
int
-fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents, u_long newcontents)
+fatentry(int function, struct msdosfsmount *pmp, u_long cn, u_long *oldcontents,
+ u_long newcontents)
{
int error;
u_long readcn;
OpenPOWER on IntegriCloud