- Timestamp:
- Dec 6, 2013 9:50:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/solaris/USBProxyDevice-solaris.cpp
r49814 r49816 317 317 * Create wakeup pipe. 318 318 */ 319 rc = RTPipeCreate(&pDev Lnx->hPipeWakeupR, &pDevLnx->hPipeWakeupW, 0);319 rc = RTPipeCreate(&pDevSol->hPipeWakeupR, &pDevSol->hPipeWakeupW, 0); 320 320 if (RT_SUCCESS(rc)) 321 321 { … … 382 382 rc = VERR_OPEN_FAILED; 383 383 } 384 RTPipeClose(pDev Lnx->hPipeWakeupR);385 RTPipeClose(pDev Lnx->hPipeWakeupW);384 RTPipeClose(pDevSol->hPipeWakeupR); 385 RTPipeClose(pDevSol->hPipeWakeupW); 386 386 } 387 387 … … 446 446 } 447 447 448 RTPipeClose(pDev Lnx->hPipeWakeupR);449 RTPipeClose(pDev Lnx->hPipeWakeupW);448 RTPipeClose(pDevSol->hPipeWakeupR); 449 RTPipeClose(pDevSol->hPipeWakeupW); 450 450 451 451 RTStrFree(pDevSol->pszDevicePath); … … 727 727 pfd[0].revents = 0; 728 728 729 pfd[1].fd = RTPipeToNative(pDevSol->h WakeupPipeR);729 pfd[1].fd = RTPipeToNative(pDevSol->hPipeWakeupR); 730 730 pfd[1].events = POLLIN; 731 731 pfd[1].revents = 0; 732 732 733 int rc = poll(&pfd , 2, cMilliesWait);733 int rc = poll(&pfd[0], 2, cMilliesWait); 734 734 if (rc > 0) 735 735 { … … 746 746 uint8_t bRead; 747 747 size_t cbIgnored = 0; 748 RTPipeRead(pDev Lnx->hPipeWakeupR, &bRead, 1, &cbIgnored);748 RTPipeRead(pDevSol->hPipeWakeupR, &bRead, 1, &cbIgnored); 749 749 750 750 /*
Note:
See TracChangeset
for help on using the changeset viewer.