mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 16:01:38 +03:00
[misc] Fix building on OpenBSD
OpenBSD throws compiler warnings that we can't reproduce on Linux, for some reason. Original patch from Dewey Hylton <dewey@hyltown.com>.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
* data structure.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <gpxe/image.h>
|
||||
#include <gpxe/malloc.h>
|
||||
#include <gpxe/uaccess.h>
|
||||
@@ -25,8 +24,8 @@ struct image *embedded_image(void)
|
||||
if ( reclaimed )
|
||||
return NULL; /* Already reclaimed */
|
||||
|
||||
printf("Embedded image: %d bytes at %p\n",
|
||||
eisize, _embedded_image_start);
|
||||
DBG ( "Embedded image: %zd bytes at %p\n",
|
||||
eisize, _embedded_image_start );
|
||||
|
||||
image = alloc_image();
|
||||
if (!image)
|
||||
|
||||
Reference in New Issue
Block a user