summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2016-09-08 21:21:28 +0200
committerMike Snitzer <snitzer@redhat.com>2016-11-21 15:52:01 +0100
commit21ffe552e9cd9f5ce8f214d8a8f07c8fe9a9fc8b (patch)
tree8a61a0ad489e2d0d770949c958982207ba8d8065 /drivers/md
parentdm crypt: rename crypt_setkey_allcpus to crypt_setkey (diff)
downloadlinux-21ffe552e9cd9f5ce8f214d8a8f07c8fe9a9fc8b.tar.xz
linux-21ffe552e9cd9f5ce8f214d8a8f07c8fe9a9fc8b.zip
dm verity: fix incorrect error message
Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md')
-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;
}