[PATCH] DM 5/6: Message fix in dm-linear

From: Kevin Corry
Date: Mon Sep 22 2003 - 10:57:47 EST


Fix error message when linear targets gets handed more than 2 arguments.
[Alasdair Kergon]

--- diff/drivers/md/dm-linear.c 2003-09-17 13:08:44.000000000 +0100
+++ source/drivers/md/dm-linear.c 2003-09-17 13:09:34.000000000 +0100
@@ -28,7 +28,7 @@
struct linear_c *lc;

if (argc != 2) {
- ti->error = "dm-linear: Not enough arguments";
+ ti->error = "dm-linear: Invalid argument count";
return -EINVAL;
}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/