summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTobias Weingartner <weingart@cvs.openbsd.org>1997-08-05 16:26:06 +0000
committerTobias Weingartner <weingart@cvs.openbsd.org>1997-08-05 16:26:06 +0000
commit5497dc71005477a845921fd1b021494da4e01c84 (patch)
tree022691bd10fa76c2b49f35b16fedb0deda0ad8f0 /sys
parentc68bb7e993daa1a96d9b3ceeca9558e4fd83f8ed (diff)
Less verbose.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/stand/libsa/memprobe.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c
index 4c96c6f4182..76760fd1325 100644
--- a/sys/arch/i386/stand/libsa/memprobe.c
+++ b/sys/arch/i386/stand/libsa/memprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memprobe.c,v 1.6 1997/08/04 21:49:42 mickey Exp $ */
+/* $OpenBSD: memprobe.c,v 1.7 1997/08/05 16:26:05 weingart Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -52,11 +52,13 @@ memprobe()
*/
for(ram = 1024; ram < 512*1024; ram += 4){
- printf("Probing memory: %d KB\r", ram-1024);
- if(addrprobe(ram)) break;
+ if(!(ram % 1024))
+ printf("Probing memory: %d KB\r", ram-1024);
+ if(addrprobe(ram))
+ break;
}
- printf("\n");
+ printf("Found %d KB extended memory.\n", ram-1024);
extmem = ram - 1024;
}