Commit b7d3248b authored by Kevin Corry's avatar Kevin Corry Committed by Linus Torvalds

[PATCH] dm: Message fix in dm-linear

Fix error message when linear targets gets handed more than 2 arguments.
[Alasdair Kergon]
parent 460261c1
...@@ -28,7 +28,7 @@ static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv) ...@@ -28,7 +28,7 @@ static int linear_ctr(struct dm_target *ti, unsigned int argc, char **argv)
struct linear_c *lc; struct linear_c *lc;
if (argc != 2) { if (argc != 2) {
ti->error = "dm-linear: Not enough arguments"; ti->error = "dm-linear: Invalid argument count";
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment