summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2016-09-08 12:21:28 -0700
committerMike Snitzer <snitzer@redhat.com>2016-11-21 09:52:01 -0500
commit21ffe552e9cd9f5ce8f214d8a8f07c8fe9a9fc8b (patch)
tree8a61a0ad489e2d0d770949c958982207ba8d8065
parent671ea6b4574e28c5f5f51a4261b9492639507bbc (diff)
downloadlinux-21ffe552e9cd9f5ce8f214d8a8f07c8fe9a9fc8b.tar.bz2
dm verity: fix incorrect error message
Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
-rw-r--r--drivers/md/dm-verity-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index 0aba34a7b3b3..7335d8a3fc47 100644
--- a/drivers/md/dm-verity-target.c
+++ b/drivers/md/dm-verity-target.c
@@ -868,7 +868,7 @@ static int verity_ctr(struct dm_target *ti, unsigned argc, char **argv)
r = dm_get_device(ti, argv[2], FMODE_READ, &v->hash_dev);
if (r) {
- ti->error = "Data device lookup failed";
+ ti->error = "Hash device lookup failed";
goto bad;
}