diff options
author | Michael Brown | 2007-01-16 09:36:42 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-16 09:36:42 +0100 |
commit | 544fa259287a2b919d8ed05bc201a5133032ef05 (patch) | |
tree | ff78f4abbfb22c10f45402f98c11e2d5419f5e70 /src/usr/fetch.c | |
parent | Create and use async_block() macro; it cuts down on the visual overhead (diff) | |
download | ipxe-544fa259287a2b919d8ed05bc201a5133032ef05.tar.gz ipxe-544fa259287a2b919d8ed05bc201a5133032ef05.tar.xz ipxe-544fa259287a2b919d8ed05bc201a5133032ef05.zip |
Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviously
reflect the fact that they allocate and deallocate user memory (i.e.
things reached through a userptr_t).
Diffstat (limited to 'src/usr/fetch.c')
-rw-r--r-- | src/usr/fetch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/fetch.c b/src/usr/fetch.c index 11197e9f..9260a48f 100644 --- a/src/usr/fetch.c +++ b/src/usr/fetch.c @@ -25,7 +25,7 @@ #include <errno.h> #include <vsprintf.h> -#include <gpxe/emalloc.h> +#include <gpxe/umalloc.h> #include <gpxe/ebuffer.h> #include <gpxe/image.h> #include <gpxe/uri.h> @@ -45,9 +45,9 @@ * @ret len Length of loaded file * @ret rc Return status code * - * Fetch file to an external buffer allocated with emalloc(). The + * Fetch file to an external buffer allocated with umalloc(). The * caller is responsible for eventually freeing the buffer with - * efree(). + * ufree(). */ int fetch ( const char *uri_string, userptr_t *data, size_t *len ) { struct uri *uri; @@ -101,7 +101,7 @@ int fetch ( const char *uri_string, userptr_t *data, size_t *len ) { return 0; err: - efree ( buffer.addr ); + ufree ( buffer.addr ); err_ebuffer_alloc: free_uri ( uri ); err_parse_uri: |