From dcs@newsguy.com  Thu Jan 28 08:26:51 1999
Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA07657
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Jan 1999 08:26:49 -0800 (PST)
          (envelope-from dcs@newsguy.com)
Received: from daniel.sobral by peach.ocn.ne.jp (8.9.1a/OCN) id BAA17201; Fri, 29 Jan 1999 01:26:45 +0900 (JST)
Received: (from root@localhost)
	by daniel.sobral (8.9.1/8.9.2) id BAA01398;
	Fri, 29 Jan 1999 01:26:02 +0900 (JST)
	(envelope-from root)
Message-Id: <199901281626.BAA01398@daniel.sobral>
Date: Fri, 29 Jan 1999 01:26:02 +0900 (JST)
From: dcs@newsguy.com
Reply-To: dcs@newsguy.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: Silence warnings
X-Send-Pr-Version: 3.2

>Number:         9754
>Category:       bin
>Synopsis:       src/sys/boot/common is WAY too noisy in warning, imho
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 28 08:30:02 PST 1999
>Closed-Date:    Thu Feb 4 05:16:29 PST 1999
>Last-Modified:  Thu Feb  4 05:16:41 PST 1999
>Originator:     Daniel C. Sobral
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	Current as of Jan 24

>Description:

	Noisy make makes it annoying finding real warnings.

>How-To-Repeat:

	cd /usr/src/sys/boot ; make clean depend all

>Fix:
	
	Apply the following fix:


--- src/sys/boot/common/bcache.c.orig	Fri Jan 29 01:14:31 1999
+++ src/sys/boot/common/bcache.c	Fri Jan 29 01:22:24 1999
@@ -252,7 +252,7 @@
     int		i;
     
     for (i = 0; i < bcache_nblks; i++) {
-	printf("%08x %04x %04x|", bcache_ctl[i].bc_blkno, bcache_ctl[i].bc_stamp & 0xffff, bcache_ctl[i].bc_count & 0xffff);
+	printf("%08x %04x %04x|", bcache_ctl[i].bc_blkno, (unsigned int)bcache_ctl[i].bc_stamp & 0xffff, bcache_ctl[i].bc_count & 0xffff);
 	if (((i + 1) % 4) == 0)
 	    printf("\n");
     }
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dcs 
State-Changed-When: Thu Feb 4 05:16:29 PST 1999 
State-Changed-Why:  
Committed. 
>Unformatted:
