david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Return -EIO when verification fails, instead of -EINVAL.

This commit is contained in:
Michael Brown 2006-12-20 14:11:50 +00:00
parent cbeec25662
commit 6ceaa158da
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ static int nvs_verify ( struct nvs_device *nvs, unsigned int address,
if ( memcmp ( data, read_data, len ) != 0 ) {
DBG ( "NVS %p verification failed at %#04x+%d\n",
nvs, address, len );
return -EINVAL;
return -EIO;
}
return 0;