summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2009-06-07 08:42:26 +0000
committerstas <stas@FreeBSD.org>2009-06-07 08:42:26 +0000
commitcd4e8f22328f7018cb9318f49c6bbf2775f79b1e (patch)
tree733b5b22d4f0346a10a2f88c07a4393cf07dde5e /sys/gnu
parent444e8b7b3bbd1fef8c18b8643b5d8f20ae1688dc (diff)
downloadFreeBSD-src-cd4e8f22328f7018cb9318f49c6bbf2775f79b1e.zip
FreeBSD-src-cd4e8f22328f7018cb9318f49c6bbf2775f79b1e.tar.gz
- Outindent long printf lines instead of splitting them in the
middle of senetences. This also makes the code more consistent with the corresponding FFS code. - Use 2-space sentences breaks consistently. Suggested by: bde
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/fs/ext2fs/ext2_vfsops.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c
index 6171671..20c44ef 100644
--- a/sys/gnu/fs/ext2fs/ext2_vfsops.c
+++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c
@@ -218,12 +218,12 @@ ext2_mount(struct mount *mp)
if ((fs->s_es->s_state & EXT2_VALID_FS) == 0 ||
(fs->s_es->s_state & EXT2_ERROR_FS)) {
if (mp->mnt_flag & MNT_FORCE) {
- printf("WARNING: %s was not properly "
- "dismounted\n", fs->fs_fsmnt);
+ printf(
+"WARNING: %s was not properly dismounted\n", fs->fs_fsmnt);
} else {
- printf("WARNING: R/W mount of %s "
- "denied. Filesystem is not clean"
- " - run fsck\n", fs->fs_fsmnt);
+ printf(
+"WARNING: R/W mount of %s denied. Filesystem is not clean - run fsck\n",
+ fs->fs_fsmnt);
return (EPERM);
}
}
@@ -359,8 +359,9 @@ ext2_check_sb_compat(struct ext2_super_block *es, struct cdev *dev, int ronly)
}
if (es->s_rev_level > EXT2_GOOD_OLD_REV) {
if (es->s_feature_incompat & ~EXT2_FEATURE_INCOMPAT_SUPP) {
- printf("WARNING: mount of %s denied due to unsupported "
- "optional features\n", devtoname(dev));
+ printf(
+"WARNING: mount of %s denied due to unsupported optional features\n",
+ devtoname(dev));
return (1);
}
if (!ronly &&
@@ -629,11 +630,11 @@ ext2_mountfs(struct vnode *devvp, struct mount *mp)
if ((es->s_state & EXT2_VALID_FS) == 0 ||
(es->s_state & EXT2_ERROR_FS)) {
if (ronly || (mp->mnt_flag & MNT_FORCE)) {
- printf("WARNING: Filesystem was not properly "
- "dismounted\n");
+ printf(
+"WARNING: Filesystem was not properly dismounted\n");
} else {
- printf("WARNING: R/W mount denied. Filesystem "
- "is not clean - run fsck\n");
+ printf(
+"WARNING: R/W mount denied. Filesystem is not clean - run fsck\n");
error = EPERM;
goto out;
}
OpenPOWER on IntegriCloud