From c37cc930f444c11d71fae868ef8bef0b4276a9d0 Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 1 Oct 1998 19:08:05 +0000 Subject: [PATCH] Fix a couple of printf formats. --- sys/arch/sun3/sun3/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sun3/sun3/machdep.c b/sys/arch/sun3/sun3/machdep.c index 1820fc3dd51a..985467ff2c70 100644 --- a/sys/arch/sun3/sun3/machdep.c +++ b/sys/arch/sun3/sun3/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.116 1998/07/04 22:18:43 jonathan Exp $ */ +/* $NetBSD: machdep.c,v 1.117 1998/10/01 19:08:05 thorpej Exp $ */ /* * Copyright (c) 1994, 1995 Gordon W. Ross @@ -304,7 +304,7 @@ cpu_startup() initfpu(); /* also prints FPU type */ size = ptoa(physmem); - printf("real mem = %dK (0x%lx)\n", (size >> 10), size); + printf("real mem = %ldK (0x%lx)\n", (size >> 10), size); /* * Get scratch page for dumpsys(). @@ -438,7 +438,7 @@ cpu_startup() #else size = ptoa(cnt.v_free_count); #endif - printf("avail mem = %dK (0x%lx)\n", (size >> 10), size); + printf("avail mem = %ldK (0x%lx)\n", (size >> 10), size); printf("using %d buffers containing %d bytes of memory\n", nbuf, bufpages * CLBYTES);