Lines 196-202
Link Here
|
196 |
/* A fake page table page, to avoid having to handle both 4K and 2M pages */ |
196 |
/* A fake page table page, to avoid having to handle both 4K and 2M pages */ |
197 |
static pt_entry_t fakept[NPTEPG]; |
197 |
static pt_entry_t fakept[NPTEPG]; |
198 |
|
198 |
|
199 |
void |
199 |
int |
200 |
minidumpsys(struct dumperinfo *di) |
200 |
minidumpsys(struct dumperinfo *di) |
201 |
{ |
201 |
{ |
202 |
struct minidumphdr mdhdr; |
202 |
struct minidumphdr mdhdr; |
Lines 460-466
Link Here
|
460 |
/* Signal completion, signoff and exit stage left. */ |
460 |
/* Signal completion, signoff and exit stage left. */ |
461 |
dump_write(di, NULL, 0, 0, 0); |
461 |
dump_write(di, NULL, 0, 0, 0); |
462 |
printf("\nDump complete\n"); |
462 |
printf("\nDump complete\n"); |
463 |
return; |
463 |
return (0); |
464 |
|
464 |
|
465 |
fail: |
465 |
fail: |
466 |
if (error < 0) |
466 |
if (error < 0) |
Lines 472-477
Link Here
|
472 |
printf("\nDump failed. Partition too small.\n"); |
472 |
printf("\nDump failed. Partition too small.\n"); |
473 |
else |
473 |
else |
474 |
printf("\n** DUMP FAILED (ERROR %d) **\n", error); |
474 |
printf("\n** DUMP FAILED (ERROR %d) **\n", error); |
|
|
475 |
return (error); |
475 |
} |
476 |
} |
476 |
|
477 |
|
477 |
void |
478 |
void |