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:
Andy 2019-09-18 10:18:08 +08:00 committed by wenlingz
parent 04d5638745
commit ad9e61b23c

View File

@ -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;
}