Module Name:    src
Committed By:   maxv
Date:           Fri Feb 20 17:10:17 UTC 2015

Modified Files:
        src/sys/ufs/ffs: ffs_vfsops.c

Log Message:
Style, and fix a DPRINTF

No functional change


To generate a diff of this commit:
cvs rdiff -u -r1.316 -r1.317 src/sys/ufs/ffs/ffs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ffs/ffs_vfsops.c
diff -u src/sys/ufs/ffs/ffs_vfsops.c:1.316 src/sys/ufs/ffs/ffs_vfsops.c:1.317
--- src/sys/ufs/ffs/ffs_vfsops.c:1.316	Sat Feb 14 13:43:28 2015
+++ src/sys/ufs/ffs/ffs_vfsops.c	Fri Feb 20 17:10:17 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ffs_vfsops.c,v 1.316 2015/02/14 13:43:28 maxv Exp $	*/
+/*	$NetBSD: ffs_vfsops.c,v 1.317 2015/02/20 17:10:17 maxv Exp $	*/
 
 /*-
  * Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.316 2015/02/14 13:43:28 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.317 2015/02/20 17:10:17 maxv Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -111,11 +111,8 @@ __KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c
 
 MODULE(MODULE_CLASS_VFS, ffs, NULL);
 
-static int
-ffs_vfs_fsync(vnode_t *, int);
-
-static int
-ffs_superblock_validate(struct fs *fs);
+static int ffs_vfs_fsync(vnode_t *, int);
+static int ffs_superblock_validate(struct fs *);
 
 static struct sysctllog *ffs_sysctl_log;
 
@@ -1039,7 +1036,7 @@ ffs_mountfs(struct vnode *devvp, struct 
 			bp = NULL;
 		}
 		if (sblock_try[i] == -1) {
-			DPRINTF(("%s: sblock_try\n", __func__));
+			DPRINTF(("%s: no superblock found\n", __func__));
 			error = EINVAL;
 			fs = NULL;
 			goto out;

Reply via email to