Maxmem is a long, so update printf format so this compiles.
This commit is contained in:
parent
0b1482d1fd
commit
ea9b09fef2
@ -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 New Issue
Block a user