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>
This commit is contained in:
2
env/common.c
vendored
2
env/common.c
vendored
@@ -85,7 +85,7 @@ int env_do_env_set(int flag, int argc, char *const argv[], int env_flag)
|
|||||||
name = argv[1];
|
name = argv[1];
|
||||||
|
|
||||||
if (strchr(name, '=')) {
|
if (strchr(name, '=')) {
|
||||||
printf("## Error: illegal character '='"
|
printf("## Error: illegal character '=' "
|
||||||
"in variable name \"%s\"\n", name);
|
"in variable name \"%s\"\n", name);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user