--- trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/ext2fs/ext2fs_inline.c 2010/04/29 20:38:48 983 +++ trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/ext2fs/ext2fs_inline.c 2010/05/30 11:32:42 984 @@ -50,9 +50,7 @@ /* Use "memcpy" for pointer assignments here to avoid problems * with C99 strict type aliasing rules. */ memcpy(&p, ptr, sizeof (p)); - p = realloc(p, size); - if (!p) - return EXT2_ET_NO_MEMORY; + p = xrealloc(p, size); memcpy(ptr, &p, sizeof (p)); return 0; }