device-mapper: Fix some DMERR macro usage
Alasdair G Kergon
maintainerPATCH 1/1 device-mapper: Fix some DMERR macro usage
Fix some DMERR macro usage. It already adds : and \n.
Signed-off-by Alasdair G Kergon <[email protected]>
drivers/md/dm-table.c +3 -3
@@ -664,14 +664,14 @@if (!len) { tgt->error ="zero-length target" ; -DMERR (": %s\n" , tgt->error); +DMERR ("%s" , tgt->error);return -EINVAL ; } tgt->type =dm_get_target_type (type);if (!tgt->type) { tgt->error ="unknown target type" ; -DMERR (": %s\n" , tgt->error); +DMERR ("%s" , tgt->error);return -EINVAL ; }
@@ -708,7 +708,7 @@return 0 ; bad: -DMERR (": %s\n" , tgt->error); +DMERR ("%s" , tgt->error);dm_put_target_type (tgt->type);return r; }