--- OpenNI-1e9524ffd759841789dadb4ca19fb5d4ac5820e7/Source/OpenNI/Linux/LinuxUSBDevice.cpp~ 2013-11-12 18:30:03.000000000 +0200 +++ OpenNI-1e9524ffd759841789dadb4ca19fb5d4ac5820e7/Source/OpenNI/Linux/LinuxUSBDevice.cpp 2020-12-26 20:47:23.658545555 +0200 @@ -1161,6 +1161,7 @@ aio_cancel(pDevice->endpoints[nIndex].fd, NULL); pDevice->endpoints[nIndex].nQueued = 0; pDevice->endpoints[nIndex].nFirst = 0; + return nRetVal; } #endif // XN_PLATFORM == XN_PLATFORM_LINUX_ARM