From: John Hodge Date: Sat, 26 Sep 2009 03:07:01 +0000 (+0800) Subject: Helps if you turn on debug X-Git-Tag: rel0.06~488 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=1b67d9b8cf2359a0f5f57d9e59fd080bad6bee41;p=tpg%2Facess2.git Helps if you turn on debug --- 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 ); } /**