From 8b8206cf970bb25b010be36a4d295556c5130458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=A1lvez?= Date: Sun, 13 Jul 2014 15:18:23 +0000 Subject: [PATCH] Add format specifier to fix debug messages format --- pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pci/pci.c b/pci/pci.c index 5a4d10c..b9926c7 100644 --- a/pci/pci.c +++ b/pci/pci.c @@ -35,7 +35,7 @@ //#define DEBUG_PCI #ifdef DEBUG_PCI -#define dbg(format, arg...) do { xprintf("DEBUG: " format, __FUNCTION__, ##arg); } while (0) +#define dbg(format, arg...) do { xprintf("DEBUG: %s(): " format, __FUNCTION__, ##arg); } while (0) #else #define dbg(format, arg...) do { ; } while (0) #endif /* DEBUG_PCI */