diff options
author | Eric Sandeen <sandeen@redhat.com> | 2014-12-24 09:47:27 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-12-24 09:47:27 +1100 |
commit | 77af574eef78c404ea630f7955a5ed0c926a63fe (patch) | |
tree | 3097efacf7306d93a66ac3ed6d47ef3d48d59fbb /fs/xfs/xfs_log.c | |
parent | 96ab7954bca0eeedfb17094719db1351fba361d3 (diff) | |
download | linux-77af574eef78c404ea630f7955a5ed0c926a63fe.tar.bz2 |
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_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 4f09e0f7c07a..8fbbfb2d46e1 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c @@ -2027,7 +2027,7 @@ xlog_print_tic_res( " total reg = %u bytes (o/flow = %u bytes)\n" " ophdrs = %u (ophdr space = %u bytes)\n" " ophdr + reg = %u bytes\n" - " num regions = %u\n", + " num regions = %u", ((ticket->t_trans_type <= 0 || ticket->t_trans_type > XFS_TRANS_TYPE_MAX) ? "bad-trans-type" : trans_type_str[ticket->t_trans_type-1]), |