Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm32/dev A long int for kernel sizes is a bit over...



details:   https://anonhg.NetBSD.org/src/rev/e27bb774c174
branches:  trunk
changeset: 514719:e27bb774c174
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sun Sep 09 15:15:14 2001 +0000

description:
A long int for kernel sizes is a bit overdone for an arm32 ... make it
compile again by changing the format string to use ints.

diffstat:

 sys/arch/arm32/dev/md_hooks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b1ff5a3a416a -r e27bb774c174 sys/arch/arm32/dev/md_hooks.c
--- a/sys/arch/arm32/dev/md_hooks.c     Sun Sep 09 11:04:23 2001 +0000
+++ b/sys/arch/arm32/dev/md_hooks.c     Sun Sep 09 15:15:14 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md_hooks.c,v 1.17 2001/08/30 17:16:02 rearnsha Exp $   */
+/*     $NetBSD: md_hooks.c,v 1.18 2001/09/09 15:15:14 reinoud Exp $    */
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -83,7 +83,7 @@
                        bootmd = md;
                }
 #endif /* MINIROOTSIZE */
-               printf("md%d: allocated %ldK (%ld blocks)\n", unit, md->md_size / 1024, md->md_size / DEV_BSIZE);
+               printf("md%d: allocated %dK (%d blocks)\n", unit, md->md_size / 1024, md->md_size / DEV_BSIZE);
        }
 }
 



Home | Main Index | Thread Index | Old Index