diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-30 06:13:39 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-08-30 06:13:39 +0000 |
| commit | 692821870b8f1dc47652de3dde4a74b3b93e82cb (patch) | |
| tree | ef09cc488576467fc19be1becdd9cfd412f44997 | |
| parent | eb3025b3ed2f7a00a9e99d4131b179b517349447 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/dump_machdep.c | 2 | ||||
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 2 | ||||
| -rw-r--r-- | sys/i386/i386/dump_machdep.c | 2 | ||||
| -rw-r--r-- | sys/i386/i386/machdep.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/dump_machdep.c b/sys/amd64/amd64/dump_machdep.c index 69982dae07ed..caa5883d10df 100644 --- a/sys/amd64/amd64/dump_machdep.c +++ b/sys/amd64/amd64/dump_machdep.c @@ -59,7 +59,7 @@ dumpsys(struct dumperinfo *di) int i, mb; int c; - 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); diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index ec6e05c2624d..f1bc522954af 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1472,7 +1472,7 @@ physmap_done: if (atop(physmap[physmap_idx + 1]) != Maxmem && (boothowto & RB_VERBOSE)) - printf("Physical memory use set to %uK\n", Maxmem * 4); + printf("Physical memory use set to %ldK\n", Maxmem * 4); /* * If Maxmem has been increased beyond what the system has detected, diff --git a/sys/i386/i386/dump_machdep.c b/sys/i386/i386/dump_machdep.c index 69982dae07ed..caa5883d10df 100644 --- a/sys/i386/i386/dump_machdep.c +++ b/sys/i386/i386/dump_machdep.c @@ -59,7 +59,7 @@ dumpsys(struct dumperinfo *di) int i, mb; int c; - 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); diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index ec6e05c2624d..f1bc522954af 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1472,7 +1472,7 @@ physmap_done: if (atop(physmap[physmap_idx + 1]) != Maxmem && (boothowto & RB_VERBOSE)) - printf("Physical memory use set to %uK\n", Maxmem * 4); + printf("Physical memory use set to %ldK\n", Maxmem * 4); /* * If Maxmem has been increased beyond what the system has detected, |
