On Sat, Feb 23, 2019 at 11:01:45PM +0100, Kurt Garloff wrote:
> Fixing patch is attached. The parser not never get to the third entry ...
Try this.
Alasdair
--- a/tools/dmsetup.c
+++ b/tools/dmsetup.c
@@ -369,7 +369,7 @@ static int _parse_table_lines(struct dm_task *dmt)
do {
/* Identify and terminate each line */
- if ((next_pos = strchr(_table, '\n')))
+ if ((next_pos = strchr(pos, '\n')))
*next_pos++ = '\0';
if (!_parse_line(dmt, pos, "", ++line))
return_0;
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel