As cmd->cmd_line is already const char pointer it's not needed to cast already
const char pointer to char pointer.
Version 2.02.79 -
===================================
+ Fixing const cast gcc warnings in the code.
Check read() and close() results in _get_cmdline().
Add const for struct config_node usage.
Fix NULL pointer check in error path in clvmd do_command(). (2.02.78)
* 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;
}