diff options
| author | Alessandro Salvatori | 2010-07-05 12:01:23 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-07-05 12:01:23 +0200 |
| commit | 3cefc5a3e0126c65f24475a3eba19b7248fc02bf (patch) | |
| tree | b5fc3d9608b34d06c506a289431caaa2f40ac719 /src | |
| parent | [pcnet32] Fix uninitialised variable (diff) | |
| download | ipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.tar.gz ipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.tar.xz ipxe-3cefc5a3e0126c65f24475a3eba19b7248fc02bf.zip | |
[refcnt] Fix embedded image building
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/ipxe/refcnt.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/ipxe/refcnt.h b/src/include/ipxe/refcnt.h index 37f574dcc..49fce5044 100644 --- a/src/include/ipxe/refcnt.h +++ b/src/include/ipxe/refcnt.h @@ -69,10 +69,10 @@ ref_init ( struct refcnt *refcnt, /** * Initialise a static reference counter * - * @v free Free containing object + * @v free_fn 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 ); |
