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

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