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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102665

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);