Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e7da0b
)
debugfs: Fix ncheck display so that extra characters aren't printed
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 21 Oct 2008 03:51:53 +0000
(23:51 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 21 Oct 2008 03:51:53 +0000
(23:51 -0400)
Fix a single-character typo in the printf format statement.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/ncheck.c
patch
|
blob
|
history
diff --git
a/debugfs/ncheck.c
b/debugfs/ncheck.c
index
abb38a8
..
166be6b
100644
(file)
--- a/
debugfs/ncheck.c
+++ b/
debugfs/ncheck.c
@@
-42,7
+42,7
@@
static int ncheck_proc(struct ext2_dir_entry *dirent,
return 0;
for (i=0; i < iw->num_inodes; i++) {
if (iw->iarray[i] == dirent->inode) {
- printf("%u\t%s/%*s\n", iw->iarray[i], iw->parent,
+ printf("%u\t%s/%
.
*s\n", iw->iarray[i], iw->parent,
(dirent->name_len & 0xFF), dirent->name);
}
}