2009-03-08 18:15:34

by Manish Katiyar

[permalink] [raw]
Subject: [PATCH] logdump : Fix typos in logdump.c

Below patch fixes some trivial typos found during code reading


Fix typos in logdump.c

Signed-off-by : Manish Katiyar <[email protected]>
diff --git a/debugfs/logdump.c b/debugfs/logdump.c
index 69539e2..aed8eb6 100644
--- a/debugfs/logdump.c
+++ b/debugfs/logdump.c
@@ -300,9 +300,9 @@ static int read_journal_block(const char *cmd,
struct journal_source *source,
}

if (retval)
- com_err(cmd, retval, "while while reading journal");
+ com_err(cmd, retval, "while reading journal");
else if (*got != (unsigned int) size) {
- com_err(cmd, 0, "short read (read %d, expected %d) while while
reading journal", *got, size);
+ com_err(cmd, 0, "short read (read %d, expected %d) while reading
journal", *got, size);
retval = -1;
}


Thanks -
Manish