Merge "io_fip: return -ENFILE when a file is already open" into integration

This commit is contained in:
Manish Pandey 2020-07-21 21:41:51 +00:00 committed by TrustedFirmware Code Review
commit f15c59d7ac
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec,
*/
if (current_fip_file.entry.offset_address != 0U) {
WARN("fip_file_open : Only one open file at a time.\n");
return -ENOMEM;
return -ENFILE;
}
/* Attempt to access the FIP image */