From 3c3270b5696aa4c4bbd6e837730e5e14b801a1b6 Mon Sep 17 00:00:00 2001 From: Ivan Orlov Date: Mon, 8 Jan 2024 17:20:45 +0000 Subject: [PATCH] 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 --- env/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5