fix the PPC build: don't use NULL for an int parameter, found by gcc 4.5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
11977ba83b
commit
c57f433713
@ -31,7 +31,7 @@ ppc_openfirmware_pci_controller_init(void)
|
||||
{
|
||||
char path[256];
|
||||
int cookie = 0;
|
||||
while (of_get_next_device(&cookie, NULL, "pci", path, sizeof(path))
|
||||
while (of_get_next_device(&cookie, 0, "pci", path, sizeof(path))
|
||||
== B_OK) {
|
||||
dprintf("ppc_openfirmware_pci_controller_init(): pci device node: %s\n", path);
|
||||
// get the device node and the "compatible" property
|
||||
|
Loading…
Reference in New Issue
Block a user