1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Cast dumpsize to long long to match printf format.

This commit is contained in:
Marcel Moolenaar 2002-05-19 03:47:19 +00:00
parent 1a4a595c4b
commit c838906228
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96899

View File

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