Hi Alasdair, On 25/02/2019 14:19, Alasdair G Kergon wrote: > 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; > Yes, that is identical to what I attached :-) Thanks for applying! -- Kurt Garloff <kurt@xxxxxxxxxx> Cologne, Germany -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel