Add error message

This commit is contained in:
Laurent Vivier 2007-11-02 09:39:21 +00:00
parent 3eb3d6005e
commit c4fb2d359e

View File

@ -286,6 +286,7 @@ char* load_chainloader(char *path)
if (ret != stat.st_size)
{
printf("Cannot read %ld from %s\n", stat.st_size, path);
free(loader);
return NULL;
}