From owner-freebsd-current Fri May 17 4: 0:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from alpha.develop.ferrari.net (host1.ferrari-electronic.de [62.159.79.193]) by hub.freebsd.org (Postfix) with ESMTP id 0C1E837B407 for ; Fri, 17 May 2002 04:00:06 -0700 (PDT) Received: (from robert@localhost) by alpha.develop.ferrari.net (8.11.6/8.11.6/SuSE Linux 0.5) id g4HAqKn20313; Fri, 17 May 2002 12:52:20 +0200 Date: Fri, 17 May 2002 12:52:20 +0200 From: Robert Drehmel To: Hiroyuki Une 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> References: <20020517194536V.harrier@seiryu.cim.hkg.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020517194536V.harrier@seiryu.cim.hkg.ac.jp> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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