mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Cast dumpsize to long long to match printf format.
This commit is contained in:
parent
1a4a595c4b
commit
c838906228
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96899
@ -248,7 +248,8 @@ dumpsys(struct dumperinfo *di)
|
||||
|
||||
mkdumpheader(&kdh, KERNELDUMP_IA64_VERSION, dumpsize, di->blocksize);
|
||||
|
||||
printf("Dumping %llu MB (%d chunks)\n", dumpsize >> 20, ehdr.e_phnum);
|
||||
printf("Dumping %llu MB (%d chunks)\n", (long long)dumpsize >> 20,
|
||||
ehdr.e_phnum);
|
||||
|
||||
/* Dump leader */
|
||||
error = di->dumper(di->priv, &kdh, NULL, dumplo, sizeof(kdh));
|
||||
|
Loading…
Reference in New Issue
Block a user