Bruce Evans wrote:
> > cc1: warnings being treated as errors
> > /local0/src2/sys/dev/ccd/ccd.c: In function `ccdiodone':
> > /local0/src2/sys/dev/ccd/ccd.c:1181: warning: long long int format, daddr_t arg 
>(arg 6)
> > *** Error code 1
> 
> This is a routine printf format error.  %lld format should only be used
> for printing long longs (which should never be used).  Here the type is
> daddr_t, which happens to be int64_t, which happens to be plain long on
> alphas.
> 
> Don't forget to fix the other error in the printf.  2 bio_blkno's are
> printed using 2 different wrong formats, but only 1 is warned about
> because the value of 1 of them is broken (cast) to be bug for bug
> compatible with its format.

I took the liberty to fix those.

Cheers,
Maxime

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to