大于限制的oem参数单独保存到一个文件

This commit is contained in:
2024-10-26 23:44:55 +08:00
parent d5325ac3aa
commit a15be0b476
4 changed files with 77 additions and 25 deletions

View File

@@ -591,6 +591,8 @@ int ah_add_oem_ext(char *buf)
{
printf(NEW_LINE"Cannot open image file(%s)."NEW_LINE, file_name);
return 0;
} else {
printf(NEW_LINE"Open image file(%s)."NEW_LINE, file_name);
}
memcpy(buf,oem_magic_str,strlen(oem_magic_str));
buf += strlen(oem_magic_str);