Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2002 12:52:20 +0200
From:      Robert Drehmel <robert@ferrari-electronic.de>
To:        Hiroyuki Une <harrier@seiryu.cim.hkg.ac.jp>
Cc:        current@freebsd.org
Subject:   Re: buildkernel broken at sys/cam/scsi/scsi_low.c rev. 1.14
Message-ID:  <20020517125220.A20291@alpha.develop.ferrari.net>
In-Reply-To: <20020517194536V.harrier@seiryu.cim.hkg.ac.jp>
References:  <20020517194536V.harrier@seiryu.cim.hkg.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 17, 2002 at 07:45:36PM +0900, Hiroyuki Une wrote:
> I found this code at line 4661 of sys/cam/scsi/scsi_low.c rev. 1.14:
> 
>         printf("%s(%d:%d): period(%d ns) offset(%d) width(%d) flags 0x%b\n",
>                 slp->sl_xname, ti->ti_id, li->li_lun,
>                 ti->ti_maxsynch.period * 4,
>                 ti->ti_maxsynch.offset,
>                 ti->ti_width,
>                 li->li_flags, SCSI_LOW_BITS);
> 
> Is "%b" correct as conversion character?

It is an extension to printf(9) which GCC 3.1 does not know about.

ciao,
-robert

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020517125220.A20291>