http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[pxe] Avoid potential interrupt storms when using shared interrupts
[people/mcb30/gpxe.git]
/
src
/
tests
/
umalloc_test.c
diff --git
a/src/tests/umalloc_test.c
b/src/tests/umalloc_test.c
index
98de878
..
7a36186
100644
(file)
--- a/
src/tests/umalloc_test.c
+++ b/
src/tests/umalloc_test.c
@@
-1,4
+1,4
@@
-#include <
vsprintf
.h>
+#include <
stdio
.h>
#include <gpxe/uaccess.h>
#include <gpxe/umalloc.h>
#include <gpxe/memmap.h>
#include <gpxe/uaccess.h>
#include <gpxe/umalloc.h>
#include <gpxe/memmap.h>
@@
-11,9
+11,9
@@
void umalloc_test ( void ) {
printf ( "Before allocation:\n" );
get_memmap ( &memmap );
printf ( "Before allocation:\n" );
get_memmap ( &memmap );
- bob =
y
malloc ( 1234 );
- bob =
y
realloc ( bob, 12345 );
- fred =
y
malloc ( 999 );
+ bob =
u
malloc ( 1234 );
+ bob =
u
realloc ( bob, 12345 );
+ fred =
u
malloc ( 999 );
printf ( "After allocation:\n" );
get_memmap ( &memmap );
printf ( "After allocation:\n" );
get_memmap ( &memmap );