| 366 | } ifwi_image; |
| 367 | |
| 368 | static void alloc_buffer(struct buffer *b, size_t s, const char *n) |
| 369 | { |
| 370 | if (buffer_create(b, s, n) == 0) |
| 371 | return; |
| 372 | |
| 373 | ERROR("Buffer allocation failure for %s (size = %zx).\n", n, s); |
| 374 | exit(-1); |
| 375 | } |
| 376 | |
| 377 | /* |
| 378 | * Read header/entry members in little-endian format. |
no test coverage detected