diff options
author | ru <ru@FreeBSD.org> | 2006-11-07 21:55:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2006-11-07 21:55:39 +0000 |
commit | 8e2a8434168e9cab98553cdebe6137d7b3723daa (patch) | |
tree | c65dbc3fdf379fd19a129bf16f29a3366164f98d /sys/amd64 | |
parent | aa817971d1a0262897880dca1367c1eb3a421aad (diff) | |
download | FreeBSD-src-8e2a8434168e9cab98553cdebe6137d7b3723daa.zip FreeBSD-src-8e2a8434168e9cab98553cdebe6137d7b3723daa.tar.gz |
Line up memory amount reporting that got broken when s/real/usable/.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 32c0604..d2241fe 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -196,7 +196,7 @@ cpu_startup(dummy) #ifdef PERFMON perfmon_init(); #endif - printf("usable memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), + printf("usable memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), ptoa((uintmax_t)physmem) / 1048576); realmem = Maxmem; /* @@ -220,7 +220,7 @@ cpu_startup(dummy) vm_ksubmap_init(&kmi); - printf("avail memory = %ju (%ju MB)\n", + printf("avail memory = %ju (%ju MB)\n", ptoa((uintmax_t)cnt.v_free_count), ptoa((uintmax_t)cnt.v_free_count) / 1048576); |