Skip to content

Commit

Permalink
[util] Fix uninitialised-variable warning in einfo.c
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed Oct 22, 2012
1 parent 34a81da commit a27413c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/util/einfo.c
Expand Up @@ -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 );
}

Expand Down

0 comments on commit a27413c

Please sign in to comment.