* Interface to write the "next block" relative to the current offset; since * we write backwards from the end of the partition, we subtract, but there's * no reason for the caller to know this. */
| 284 | * no reason for the caller to know this. |
| 285 | */ |
| 286 | int |
| 287 | textdump_writenextblock(struct dumperinfo *di, char *buffer) |
| 288 | { |
| 289 | int error; |
| 290 | |
| 291 | error = textdump_writeblock(di, textdump_offset, buffer); |
| 292 | textdump_offset -= TEXTDUMP_BLOCKSIZE; |
| 293 | return (error); |
| 294 | } |
| 295 | |
| 296 | #ifdef INCLUDE_CONFIG_FILE |
| 297 | extern char kernconfstring[]; |
no test coverage detected