mirror of https://github.com/ipxe/ipxe.git
[util] Fix uninitialised-variable warning in einfo.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/598/head
parent
34a81da0c8
commit
a27413c82a
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue