From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 10 00:10:20 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ABDCADB7 for ; Sun, 10 Feb 2013 00:10:20 +0000 (UTC) (envelope-from seanwbruno@gmail.com) Received: from mail-pa0-f52.google.com (mail-pa0-f52.google.com [209.85.220.52]) by mx1.freebsd.org (Postfix) with ESMTP id 7FA10EF2 for ; Sun, 10 Feb 2013 00:10:20 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id fb1so2585588pad.11 for ; Sat, 09 Feb 2013 16:10:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:subject:from:reply-to:to:content-type:date:message-id :mime-version:x-mailer; bh=YS64osJNc9VPmXT+2c4p55rBXhioaBoc06ZuTBoJD7g=; b=UCLgZsqcEsRcOGdVQxNlBEjTYBZ5UKJpGtqAjGoUqiJkpLUd9/NzKHNIstUz25JQon obV7KbBQerECKwvrL3rU9MoR3BEQ2Uah3zwTO/8RzfqWfOS/bwYsVCNG+wDXFFoBBNYy 7Q9sfKbVL82zZB+QhpErC05IaJYt9eYJH5pNbJsFzN0o0jkeUbjtA/y6UzOdgepQ86/1 MgUe9U7Ye4sdv0xVbVWBhBCYtvbhk7zsomVYkP7zfh8vzBgOosKedlwDj5M2USdxcuKq WQ4GWwrdw1wpJiJn2Qj1S0Z87AOvTITt8797U/xOG95DstfMrHkbUf5C3zvpWP7saMjz KD0A== X-Received: by 10.68.196.130 with SMTP id im2mr6865272pbc.101.1360455014651; Sat, 09 Feb 2013 16:10:14 -0800 (PST) Received: from [192.168.1.210] (c-71-202-40-63.hsd1.ca.comcast.net. [71.202.40.63]) by mx.google.com with ESMTPS id r2sm289938pbd.1.2013.02.09.16.10.12 (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 09 Feb 2013 16:10:13 -0800 (PST) Subject: Eliminating a warning in sys/boot From: Sean Bruno To: "freebsd-hackers@freebsd.org" Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-UyKDMXI/DbPNvVHgzLL0" Date: Sat, 09 Feb 2013 16:10:11 -0800 Message-ID: <1360455011.4618.8.camel@powernoodle> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2013 00:10:20 -0000 --=-UyKDMXI/DbPNvVHgzLL0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So, this is not a valid warning in our universe and I'd like to silence it when compiling sys/boot as printf(9) and sprintf(9) supports this format. How can we silence this warning for the FreeBSD universe? =3D=3D=3D> efi/libefi (all) In file included from efinet.c:39: /home/sbruno/fbsd_head/sys/boot/efi/libefi/../../common/dev_net.c:328:19: w= arning: invalid conversion specifier 'D' [-Wformat-invalid-specifier] sprintf(temp, "%6D", d->myea, ":"); SEan --=-UyKDMXI/DbPNvVHgzLL0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAABAgAGBQJRFuVjAAoJEBkJRdwI6BaHACoH/2kvk9MJFdLl3/sixJ5ogmWI luDzQHHCvxrf+k8rEq4qwKJ+XhB30DkMbsiGhRgCLp6j6AdCZBy4BmkwgfpTv7ni ep8Qa8rkDZe1EIdmnf02cguK5/0uorayWWhGkj8IpFIuuil/0Y/Hwq59jdiWLQje VrJoxmS7e6RWBI8bvo5T7V8TvQZvYGXDRiZmH3Awe9Q+GlvXo7qkP1jxBG2ECUJS 4N0n5m7W8I9FOiJLX3jCqGWoMkgAKvAudBrsx3GLXkSYAyrQU0tZ5AYZeHL6Ow6Z /0J38aiR1tU1AubSUFGTaAYaFPVvlZOaJbJzcHq1+zax0HMxTY00SGZyWE2zOgQ= =aTGI -----END PGP SIGNATURE----- --=-UyKDMXI/DbPNvVHgzLL0--