diff options
author | Benjamin Poirier <benjamin.poirier@gmail.com> | 2011-04-20 19:39:02 -0400 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-25 22:17:56 +0200 |
commit | ec48c7747acd1be25ca70586bc4e6640765e40c8 (patch) | |
tree | 8f7f11eb6e9521ecaa9fbd70e41eaf15f738503e /hw/pci.c | |
parent | 7cdeb319e46b8aeef866e17119093e1646e77b02 (diff) |
rtl8139: add format attribute to DPRINTF
gcc can check the format string for correctness even when debugging output is
not enabled.
Have to make sure arguments are always available. They are optimized out if
unneeded.
Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com>
Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pci.c')
0 files changed, 0 insertions, 0 deletions