Date: Fri, 29 Jan 1999 01:26:02 +0900 (JST) From: dcs@newsguy.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/9754: Silence warnings Message-ID: <199901281626.BAA01398@daniel.sobral>
index | next in thread | raw e-mail
>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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901281626.BAA01398>
