From: Ivan Orlov <ivan.orlov@codethink.co.uk>
Date: Mon, 8 Jan 2024 17:20:45 +0000 (+0000)
Subject: cmd: nvedit: Fix typo in 'illegal character' error
X-Git-Tag: v2025.01-rc5-pxa1908~697^2~13
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=3c3270b5696aa4c4bbd6e837730e5e14b801a1b6;p=u-boot.git

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

Signed-off-by: Ivan Orlov <ivan.orlov@codethink.co.uk>
---

diff --git a/env/common.c b/env/common.c
index 656748c1f5..26e5cbef53 100644
--- a/env/common.c
+++ b/env/common.c
@@ -85,7 +85,7 @@ int env_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;
 	}