mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
debug: add backtraces
This commit is contained in:
parent
a1d5fba666
commit
46fe47b8e0
@ -741,13 +741,13 @@ static struct dm_config_value *_get_def_array_values(struct cmd_context *cmd,
|
|||||||
}
|
}
|
||||||
/* Proper value always starts with '#'. */
|
/* Proper value always starts with '#'. */
|
||||||
if (token[0] != '#')
|
if (token[0] != '#')
|
||||||
goto bad;
|
goto_bad;
|
||||||
|
|
||||||
while (token) {
|
while (token) {
|
||||||
/* Move to type identifier. Error on no char. */
|
/* Move to type identifier. Error on no char. */
|
||||||
token++;
|
token++;
|
||||||
if (!token[0])
|
if (!token[0])
|
||||||
goto bad;
|
goto_bad;
|
||||||
|
|
||||||
/* Move to the actual value and decode any "##" into "#". */
|
/* Move to the actual value and decode any "##" into "#". */
|
||||||
p = token + 1;
|
p = token + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user