summaryrefslogtreecommitdiff
path: root/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp')
-rw-r--r--src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp b/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp
index a89c3e00..82c97aa9 100644
--- a/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp
+++ b/src/VBox/Main/src-server/linux/USBProxyServiceLinux.cpp
@@ -320,7 +320,7 @@ int USBProxyServiceLinux::waitUsbfs(RTMSINTERVAL aMillies)
aMillies = 500;
}
- memset(&PollFds, 0, sizeof(PollFds));
+ RT_ZERO(PollFds);
PollFds[0].fd = RTFileToNative(mhFile);
PollFds[0].events = POLLIN;
PollFds[1].fd = RTPipeToNative(mhWakeupPipeR);