From owner-freebsd-bugs Thu Jan 28 08:38:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA08524 for freebsd-bugs-outgoing; Thu, 28 Jan 1999 08:38:27 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA08516 for ; Thu, 28 Jan 1999 08:38:25 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id IAA69392; Thu, 28 Jan 1999 08:30:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: bin/9754: Silence warnings Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 28 08:30:02 PST 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message