Maxmem is a long, so update printf format so this compiles.

This commit is contained in:
John Baldwin 2002-08-31 03:21:59 +00:00
parent 0b1482d1fd
commit ea9b09fef2

View File

@ -57,7 +57,7 @@ dumpsys(struct dumperinfo *di)
void *va;
int i, mb;
printf("Dumping %u MB\n", Maxmem / (1024*1024 / PAGE_SIZE));
printf("Dumping %ld MB\n", Maxmem / (1024*1024 / PAGE_SIZE));
/* Fill in the kernel dump header */
strcpy(kdh.magic, KERNELDUMPMAGIC);