Changeset 43411 in vbox
- Timestamp:
- Sep 22, 2012 6:42:16 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80897
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku-stubs.c
r43366 r43411 446 446 g_VBoxGuest->_RTHeapSimpleFree(Heap, pv); 447 447 } 448 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.c
r43410 r43411 394 394 if (RT_FAILURE(rc)) 395 395 { 396 /** @todo r=ramshankar: use dprintf here & the error code looks wrong too. */396 /** @todo r=ramshankar: use dprintf here. */ 397 397 LogFunc(("RTR0Init failed.\n")); 398 398 return ENXIO; … … 499 499 int ix = 0; 500 500 501 if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI)) 502 return ENOSYS; 501 err = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI); 502 if (err != B_OK) 503 return err; 503 504 504 505 while ((*gPCI->get_nth_pci_info)(ix++, &info) == B_OK) … … 506 507 if (VBoxGuestHaikuProbe(&info) == 0) 507 508 { 508 /* we found it */509 /* We found it */ 509 510 err = VBoxGuestHaikuAttach(&info); 510 break;511 return err; 511 512 } 512 513 } 513 514 514 return err;515 return B_ENTRY_NOT_FOUND; 515 516 } 516 517 … … 528 529 { 529 530 case B_MODULE_INIT: 530 dprintf(MODULE_NAME ": B_MODULE_INIT\n");531 531 return init_module(); 532 532 533 case B_MODULE_UNINIT: 533 dprintf(MODULE_NAME ": B_MODULE_UNINIT\n");534 { 534 535 uninit_module(); 535 536 return B_OK; 537 } 538 536 539 default: 537 540 return B_ERROR; -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-haiku.h
r43366 r43411 223 223 #endif 224 224 225 #endif 225 #endif /* ___VBoxGuest_haiku_h */ 226
Note:
See TracChangeset
for help on using the changeset viewer.