summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-12-23 23:47:27 +0100
committerDave Chinner <david@fromorbit.com>2014-12-23 23:47:27 +0100
commit77af574eef78c404ea630f7955a5ed0c926a63fe (patch)
tree3097efacf7306d93a66ac3ed6d47ef3d48d59fbb /fs/xfs/xfs_super.c
parentxfs: initialize log buf I/O completion wq on log alloc (diff)
downloadlinux-77af574eef78c404ea630f7955a5ed0c926a63fe.tar.xz
linux-77af574eef78c404ea630f7955a5ed0c926a63fe.zip
xfs: remove extra newlines from xfs messages
xfs_warn() and friends add a newline by default, but some messages add another one. Particularly for the failing write message below, this can waste a lot of console real estate! Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 19cbda196369..22e6acaa0320 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -685,7 +685,7 @@ xfs_blkdev_get(
mp);
if (IS_ERR(*bdevp)) {
error = PTR_ERR(*bdevp);
- xfs_warn(mp, "Invalid device [%s], error=%d\n", name, error);
+ xfs_warn(mp, "Invalid device [%s], error=%d", name, error);
}
return error;