Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha Fix compilation error (printf format mi...
details: https://anonhg.NetBSD.org/src/rev/d92e99a9879b
branches: trunk
changeset: 484155:d92e99a9879b
user: enami <enami%NetBSD.org@localhost>
date: Mon Mar 27 04:01:54 2000 +0000
description:
Fix compilation error (printf format mismatch) due to recent round_page()
change. While I'm here I fold the long line.
diffstat:
sys/arch/alpha/alpha/machdep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 901526d23d83 -r d92e99a9879b sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c Mon Mar 27 03:25:17 2000 +0000
+++ b/sys/arch/alpha/alpha/machdep.c Mon Mar 27 04:01:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.201 2000/03/26 20:42:21 kleink Exp $ */
+/* $NetBSD: machdep.c,v 1.202 2000/03/27 04:01:54 enami Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.201 2000/03/26 20:42:21 kleink Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.202 2000/03/27 04:01:54 enami Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -680,7 +680,8 @@
/* warn if the message buffer had to be shrunk */
if (sz != round_page(MSGBUFSIZE))
- printf("WARNING: %ld bytes not available for msgbuf in last cluster (%ld used)\n",
+ printf("WARNING: %d bytes not available for msgbuf "
+ "in last cluster (%ld used)\n",
round_page(MSGBUFSIZE), sz);
}
Home |
Main Index |
Thread Index |
Old Index