Skip to contentSkip to conversation

main - debug: add backtraces

PATCH Zdenek Kabelac 1 participant 1 message Jun 23, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=46fe47b8e0ad8069bb3736d2aa3e78befdccb38d
Commit:        46fe47b8e0ad8069bb3736d2aa3e78befdccb38d
Parent:        a1d5fba666ccc6f3189d492ba01896f79cf6176f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Jun 23 16:04:55 2023 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jun 23 18:08:03 2023 +0200

debug: add backtraces

---
 lib/config/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/config/config.c +2 -2
index 5531e431d..1c074abe8 100644
@@ -741,13 +741,13 @@ static struct dm_config_value *_get_def_array_values(struct cmd_context *cmd,
 	}
 	/* Proper value always starts with '#'. */
 	if (token[0] != '#')
-		goto bad;
+		goto_bad;
 
 	while (token) {
 		/* Move to type identifier. Error on no char. */
 		token++;
 		if (!token[0])
-			goto bad;
+			goto_bad;
 
 		/* Move to the actual value and decode any "##" into "#". */
 		p = token + 1;