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:
b198805
)
debugfs: be more specific in error messages
author
Aaron Crane
<arc@aaroncrane.co.uk>
Mon, 4 Aug 2014 01:51:04 +0000
(21:51 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 4 Aug 2014 22:58:23 +0000
(18:58 -0400)
Signed-off-by: Aaron Crane <arc@aaroncrane.co.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/dump.c
patch
|
blob
|
history
diff --git
a/debugfs/dump.c
b/debugfs/dump.c
index
51bc734
..
f4f1625
100644
(file)
--- a/
debugfs/dump.c
+++ b/
debugfs/dump.c
@@
-272,12
+272,12
@@
static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode,
int fd;
fd = open(fullname, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, S_IRWXU);
if (fd == -1) {
- com_err("rdump", errno, "while
dump
ing %s", fullname);
+ com_err("rdump", errno, "while
open
ing %s", fullname);
goto errout;
}
dump_file("rdump", ino, fd, 1, fullname);
if (close(fd) != 0) {
- com_err("rdump", errno, "while
dump
ing %s", fullname);
+ com_err("rdump", errno, "while
clos
ing %s", fullname);
goto errout;
}
}