From 1b67d9b8cf2359a0f5f57d9e59fd080bad6bee41 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 26 Sep 2009 11:07:01 +0800 Subject: [PATCH] Helps if you turn on debug --- Kernel/drv/pci.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Kernel/drv/pci.c b/Kernel/drv/pci.c index 59a7d771..0519a3e6 100644 --- a/Kernel/drv/pci.c +++ b/Kernel/drv/pci.c @@ -1,13 +1,13 @@ /* -AcessOS/AcessBasic v0.1 -PCI Bus Driver -*/ + * AcessOS/AcessBasic v0.1 + * PCI Bus Driver + */ +#define DEBUG 1 #include #include #include #include -#define DEBUG 0 #define LIST_DEVICES 1 // === STRUCTURES === @@ -167,7 +167,7 @@ char *PCI_ReadDirRoot(tVFS_Node *Node, int Pos) return NULL; } - LEAVE('%s', gPCI_Devices[Pos].Name); + LEAVE('s', gPCI_Devices[Pos].Name); return strdup( gPCI_Devices[Pos].Name ); } /** -- 2.20.1