Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2013 16:10:11 -0800
From:      Sean Bruno <seanwbruno@gmail.com>
To:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Eliminating a warning in sys/boot
Message-ID:  <1360455011.4618.8.camel@powernoodle>

next in thread | raw e-mail | index | archive | help

--=-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--




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