[PATCH] cmd: nvedit: Fix typo in 'illegal character' error
Ivan Orlov
ivan.orlov at codethink.co.uk
Mon Jan 8 18:20:45 CET 2024
Fix a typo: add a space after the single quote in 'illegal character'
error message in 'env set' command
Signed-off-by: Ivan Orlov <ivan.orlov at codethink.co.uk>
---
cmd/nvedit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/nvedit.c b/cmd/nvedit.c
index daf1ad37f9..7db78848bb 100644
--- a/cmd/nvedit.c
+++ b/cmd/nvedit.c
@@ -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;
}
--
2.34.1
More information about the U-Boot
mailing list