xfs
[Top] [All Lists]

[PATCH] repair: add missing newlines to scan.c

To: xfs-oss <xfs@xxxxxxxxxxx>
Subject: [PATCH] repair: add missing newlines to scan.c
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Sat, 23 Jan 2010 15:15:33 -0600
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Commit c83b756da0dac727457022d88d2a0ace30a6dc09 added some new
do_warn's but omitted the "\n" leading to some pretty messy
output when we go down this path.

Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
---

diff --git a/repair/scan.c b/repair/scan.c
index c4d2825..85017ff 100644
--- a/repair/scan.c
+++ b/repair/scan.c
@@ -563,13 +563,13 @@ _("%s freespace btree block claimed (state %d), agno %d, 
bno %d, suspect %d\n"),
 
                        if (b == 0 || !verify_agbno(mp, agno, b)) {
                                do_warn(
-       _("invalid start block %u in record %u of %d btree block %u/%u"),
+       _("invalid start block %u in record %u of %d btree block %u/%u\n"),
                                        b, i, name, agno, bno);
                                continue;
                        }
                        if (len == 0 || !verify_agbno(mp, agno, end - 1)) {
                                do_warn(
-       _("invalid length %u in record %u of %d btree block %u/%u"),
+       _("invalid length %u in record %u of %d btree block %u/%u\n"),
                                        len, i, name, agno, bno);
                                continue;
                        }


<Prev in Thread] Current Thread [Next in Thread>