mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 19:57:31 +00:00
Fix the last problem: check_name function, print info error
Tracked-On:#3675 Signed-off-by: Andy andyx.liu@intel.com
This commit is contained in:
parent
04d5638745
commit
ad9e61b23c
@ -67,7 +67,7 @@ static int check_name(const char *name)
|
||||
/* Name should start with a letter */
|
||||
if ((name[0] < 'a' || name[0] > 'z')
|
||||
&& (name[0] < 'A' || name[0] > 'Z')) {
|
||||
printf("name not started with latter!\n");
|
||||
printf("name not started with letter!\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user