View | Details | Raw Unified | Return to bug 67712
Collapse All | Expand All

(-)sys/amd64/amd64/dump_machdep.c Tue Jun 8 14:56:00 2004 (+2 lines)
Lines 85-90 Link Here
85
       if (di->mediasize <
85
       if (di->mediasize <
86
           Maxmem * (off_t)PAGE_SIZE + sizeof kdh * 2 + 64*1024) {
86
           Maxmem * (off_t)PAGE_SIZE + sizeof kdh * 2 + 64*1024) {
87
               printf("\nDump failed. Partition too small.\n");
87
               printf("\nDump failed. Partition too small.\n");
88
               if (di->mediasize == 0 )
89
                   printf("Partition to dump on is not set. See dumpon(8)\n");
88
               return;
90
               return;
89
       }
91
       }
90
       dumplo = di->mediaoffset + di->mediasize - Maxmem * (off_t)PAGE_SIZE;
92
       dumplo = di->mediaoffset + di->mediasize - Maxmem * (off_t)PAGE_SIZE;

Return to bug 67712