diff options
author | Benjamin Poirier <benjamin.poirier@gmail.com> | 2011-04-20 19:39:01 -0400 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-04-25 22:17:52 +0200 |
commit | 7cdeb319e46b8aeef866e17119093e1646e77b02 (patch) | |
tree | 92896ead49c3839bd96c46c10268aedf9d664d6d /vl.c | |
parent | afcd9c0dcd1d6ab14a72db6abde76142c6a0ac12 (diff) |
rtl8139: use variadic macro for debug statements
Removes double (( )) to make DEBUG_PRINT compatible with real function calls.
Change the name to DPRINTF to be consistent with other DPRINTF macros
throughout qemu.
Include the "RTL8139: " prefix in the macro. This changes some debug output
slightly since the prefix wasn't present on all lines.
Part of the change was done using the "coccinelle" tool with the following
small semantic match:
@@ expression E; @@
- DEBUG_PRINT((E))
+ DPRINTF(E)
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 'vl.c')
0 files changed, 0 insertions, 0 deletions