Helps if you turn on debug
authorJohn Hodge <[email protected]>
Sat, 26 Sep 2009 03:07:01 +0000 (11:07 +0800)
committerJohn Hodge <[email protected]>
Sat, 26 Sep 2009 03:07:01 +0000 (11:07 +0800)
Kernel/drv/pci.c

index 59a7d77..0519a3e 100644 (file)
@@ -1,13 +1,13 @@
 /*\r
-AcessOS/AcessBasic v0.1\r
-PCI Bus Driver\r
-*/\r
+ * AcessOS/AcessBasic v0.1\r
+ * PCI Bus Driver\r
+ */\r
+#define DEBUG  1\r
 #include <common.h>\r
 #include <vfs.h>\r
 #include <fs_devfs.h>\r
 #include <drv_pci.h>\r
 \r
-#define DEBUG  0\r
 #define        LIST_DEVICES    1\r
 \r
 // === STRUCTURES ===\r
@@ -167,7 +167,7 @@ char *PCI_ReadDirRoot(tVFS_Node *Node, int Pos)
                return NULL;\r
        }\r
        \r
-       LEAVE('%s', gPCI_Devices[Pos].Name);\r
+       LEAVE('s', gPCI_Devices[Pos].Name);\r
        return strdup( gPCI_Devices[Pos].Name );\r
 }\r
 /**\r

UCC git Repository :: git.ucc.asn.au