david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[util] Fix uninitialised-variable warning in einfo.c

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2012-10-22 08:26:43 -07:00
parent 34a81da0c8
commit a27413c82a
1 changed files with 3 additions and 2 deletions

View File

@ -93,10 +93,11 @@ static void einfo ( const char *infile,
( ( ( char * ) einfo ) + einfo->desc ) );
}
/* Unmap file */
munmap ( start, len );
}
/* Unmap and close file */
munmap ( start, len );
/* Close file */
close ( fd );
}