From a2f01a7fa42c0480cf69d03f0e11fa6e3c5dddd9 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_BaS_gcc/pci/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pci_BaS_gcc/pci/pci.c b/pci_BaS_gcc/pci/pci.c index 5a4d10c..c3c318b 100644 --- a/pci_BaS_gcc/pci/pci.c +++ b/pci_BaS_gcc/pci/pci.c @@ -33,9 +33,9 @@ #include "interrupts.h" #include "wait.h" -//#define DEBUG_PCI +#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 */