From c701e372556c69f2482b2b551bd0e697ac3ed0b3 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 --- BaS_gcc/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaS_gcc/pci/pci.c b/BaS_gcc/pci/pci.c index 5a4d10c..b9926c7 100644 --- a/BaS_gcc/pci/pci.c +++ b/BaS_gcc/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 */