]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debugfs: Fix typos in logdump's error messages
authorManish Katiyar <mkatiyar@gmail.com>
Sun, 8 Mar 2009 18:15:31 +0000 (23:45 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 Mar 2009 00:48:36 +0000 (20:48 -0400)
Below patch fixes some trivial typos found during code reading

Signed-off-by : Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/logdump.c

index 69539e240a94ecc6e0cc68ba8161036bd968765c..4818bc65b2777733167e20492e9de43d10ffbdd8 100644 (file)
@@ -300,9 +300,10 @@ 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;
        }