diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2013-11-16 13:59:30 +0530 |
---|---|---|
committer | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2013-11-16 13:59:30 +0530 |
commit | 7bc3d6b7d7760550ced9a89a14bddecd74c0ce14 (patch) | |
tree | 5978e1de88565b24ca3a1171849625b8acb5eb99 /lib/libvirtio/virtio-net.c | |
parent | 7470b17ac4afa1ba51b8d5e9b6144de14374d1dc (diff) | |
download | SLOF-7bc3d6b7d7760550ced9a89a14bddecd74c0ce14.zip SLOF-7bc3d6b7d7760550ced9a89a14bddecd74c0ce14.tar.gz SLOF-7bc3d6b7d7760550ced9a89a14bddecd74c0ce14.tar.bz2 |
Fix dprintf macros at various points
Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Diffstat (limited to 'lib/libvirtio/virtio-net.c')
-rw-r--r-- | lib/libvirtio/virtio-net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libvirtio/virtio-net.c b/lib/libvirtio/virtio-net.c index 275da3a..99c19d9 100644 --- a/lib/libvirtio/virtio-net.c +++ b/lib/libvirtio/virtio-net.c @@ -30,7 +30,7 @@ #undef DEBUG //#define DEBUG #ifdef DEBUG -# define dprintf(fmt...) printf(fmt) +# define dprintf(fmt...) do { printf(fmt); } while(0) #else # define dprintf(fmt...) #endif |