Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/atari/atari Make this compile again. I assumed that...
details: https://anonhg.NetBSD.org/src/rev/ce1e55f17989
branches: trunk
changeset: 473244:ce1e55f17989
user: leo <leo%NetBSD.org@localhost>
date: Wed May 26 14:29:34 1999 +0000
description:
Make this compile again. I assumed that the use of 'format_memory()' was
an error? Made it use format_bytes()....
diffstat:
sys/arch/atari/atari/machdep.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (34 lines):
diff -r c4271b076da2 -r ce1e55f17989 sys/arch/atari/atari/machdep.c
--- a/sys/arch/atari/atari/machdep.c Wed May 26 14:29:15 1999 +0000
+++ b/sys/arch/atari/atari/machdep.c Wed May 26 14:29:34 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.82 1999/05/20 08:21:43 lukem Exp $ */
+/* $NetBSD: machdep.c,v 1.83 1999/05/26 14:29:34 leo Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -158,7 +158,6 @@
register unsigned i;
caddr_t v;
int base, residual;
- u_long avail_mem;
char pbuf[9];
#ifdef DEBUG
@@ -297,11 +296,11 @@
#ifdef DEBUG
pmapdebug = opmapdebug;
#endif
- avail_mem = ptoa(uvmexp.free);
- printf("avail mem = %s\n", format_memory(avail_mem));
- printf("using %d buffers containing %s of memory\n",
- nbuf, format_memory(bufpages * CLBYTES));
-
+ format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
+ printf("avail memory = %s\n", pbuf);
+ format_bytes(pbuf, sizeof(pbuf), bufpages * CLBYTES);
+ printf("using %d buffers containing %s of memory\n", nbuf, pbuf);
+
/*
* Set up buffers, so they can be used to read disk labels.
*/
Home |
Main Index |
Thread Index |
Old Index