summaryrefslogtreecommitdiff
path: root/debugfs
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@dilger.ca>2018-05-01 22:26:02 -0600
committerTheodore Ts'o <tytso@mit.edu>2018-06-22 14:06:53 -0400
commitb7454eb8ee781a7a581b61007e2ca892f72e1a6f (patch)
treebc41291e0d6ce5cbb1a91e6171c0f96d3db71222 /debugfs
parent27fc1ffbeb5c252ad224eac78143841aff4962ee (diff)
tests: remove redundant sed filtering
Now that the majority of device name filtering is in filter.sed, it does not need to be specified explicitly for every test. Fix the error message printed in debugfs when opening the device to match that used in other tools. This simplifies the filtering, and will be helpful if debugfs messages are internationalized. [ Fixed up some test failures in m_hugefile t_uninit_bg_rm --tytso ] Signed-off-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'debugfs')
-rw-r--r--debugfs/debugfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index 9024dd8c..a270e8c2 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -177,7 +177,8 @@ try_open_again:
goto try_open_again;
}
if (retval) {
- com_err(device, retval, "while opening filesystem");
+ com_err(debug_prog_name, retval,
+ "while trying to open %s", device);
if (retval == EXT2_ET_BAD_MAGIC)
check_plausibility(device, CHECK_FS_EXIST, NULL);
current_fs = NULL;