Whamcloud - gitweb
debugfs: fix typo when printing out the dtime label
authorTheodore Ts'o <tytso@mit.edu>
Wed, 31 Aug 2016 22:37:50 +0000 (18:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 1 Sep 2016 05:01:48 +0000 (01:01 -0400)
If the inode has extended timestamps, the dtime was printed with a
label of "crtime".  Fix this.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c

index f25ab1e..165f924 100644 (file)
@@ -888,7 +888,7 @@ void internal_dump_inode(FILE *out, const char *prefix,
                        inode_time_to_string(large_inode->i_crtime,
                                             large_inode->i_crtime_extra));
                if (inode->i_dtime)
-                       fprintf(out, "%scrtime: 0x%08x:(%08x) -- %s", prefix,
+                       fprintf(out, "%s dtime: 0x%08x:(%08x) -- %s", prefix,
                                large_inode->i_dtime, large_inode->i_ctime_extra,
                                inode_time_to_string(inode->i_dtime,
                                                     large_inode->i_ctime_extra));