[ipxe-devel] bugfix for embedded images
Alessandro Salvatori
sandr8 at gmail.com
Mon Jul 5 01:13:33 UTC 2010
Hi,
it looks to me that building with an embedded image is currently
broken and this patch seems to be fixing it:
$ git diff include/ipxe/refcnt.h
diff --git a/src/include/ipxe/refcnt.h b/src/include/ipxe/refcnt.h
index 37f574d..6e29d8a 100644
--- a/src/include/ipxe/refcnt.h
+++ b/src/include/ipxe/refcnt.h
@@ -71,8 +71,8 @@ ref_init ( struct refcnt *refcnt,
*
* @v free Free containing object
*/
-#define REF_INIT( free ) { \
- .free = free, \
+#define REF_INIT( free_fn ) { \
+ .free = free_fn,
\
}
extern struct refcnt * ref_get ( struct refcnt *refcnt );
thank you!
-Alessandro Salvatori-
Here i am, A young man,
A crashing computer program,
Here is a pen, write out my name.
More information about the ipxe-devel
mailing list