Skip to contentSkip to conversation

dm verity: fix incorrect error message

PATCH New Eric Biggers 1 participant 1 message Sep 8, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm verity: fix incorrect error message

---
 drivers/md/dm-verity-target.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/dm-verity-target.c +1 -1
index 0aba34a..7335d8a 100644
@@ -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;
 	}
 
Signature · 1 line
2.8.0.rc3.226.g39d4020