[lvm-devel] [PATCH 04/20] Remove wrong cast to (char*)
Zdenek Kabelac
zkabelac at redhat.com
Thu Dec 16 10:36:12 UTC 2010
Signed-off-by: Zdenek Kabelac <zkabelac at redhat.com>
---
liblvm/lvm_base.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c
index f8e1004..9e1a8ec 100644
--- a/liblvm/lvm_base.c
+++ b/liblvm/lvm_base.c
@@ -61,7 +61,7 @@ lvm_t lvm_init(const char *system_dir)
* archive() call. Possible example:
* cmd_line = "lvm_vg_create: vg1\nlvm_vg_extend vg1 /dev/sda1\n"
*/
- cmd->cmd_line = (char *)"liblvm";
+ cmd->cmd_line = "liblvm";
return (lvm_t) cmd;
}
--
1.7.3.3
More information about the lvm-devel
mailing list