mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-01 06:04:51 +00:00
Maxmem is a long, so update printf format so this compiles.
This commit is contained in:
parent
0b1482d1fd
commit
ea9b09fef2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102665
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue