Skip to contentSkip to conversation

cmd: nvedit: Fix typo in 'illegal character' error

PATCH In review Ivan Orlov 2 participants 2 messages Jan 8, 2024 – Jan 19, 2024

lore
Share & tools
lore

Ivan Orlov

author
#0 lore raw

PATCH 1/1 cmd: nvedit: Fix typo in 'illegal character' error

Fix a typo: add a space after the single quote in 'illegal character' error message in 'env set' command

---
 cmd/nvedit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/nvedit.c +1 -1
index daf1ad37f9..7db78848bb 100644
@@ -233,7 +233,7 @@ static int _do_env_set(int flag, int argc, char *const argv[], int env_flag)
 	name = argv[1];
 
 	if (strchr(name, '=')) {
-		printf("## Error: illegal character '='"
+		printf("## Error: illegal character '=' "
 		       "in variable name \"%s\"\n", name);
 		return 1;
 	}
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Ivan Orlov

Fix a typo: add a space after the single quote in 'illegal character' error message in 'env set' command

Applied to u-boot/master, thanks!

Signature · 1 line
Tom