summaryrefslogtreecommitdiff
path: root/src/VBox/NetworkServices/NAT/pxudp.c
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2014-06-10 18:35:32 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2014-06-10 18:35:32 +0000
commitadfc2663afdfa3b113a1d512c1d382d18c7ab20e (patch)
tree113eea5473c55ce017f9541d451e0a840e40ce3f /src/VBox/NetworkServices/NAT/pxudp.c
parent00d0ca7e5f07b62fe8e6ee9f7491e84dccf5303d (diff)
downloadVirtualBox-svn-adfc2663afdfa3b113a1d512c1d382d18c7ab20e.tar.gz
NAT/Net: convert perror/warn/warnx to DPRINTFs.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@51597 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/NetworkServices/NAT/pxudp.c')
-rw-r--r--src/VBox/NetworkServices/NAT/pxudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/NetworkServices/NAT/pxudp.c b/src/VBox/NetworkServices/NAT/pxudp.c
index 262338f40b0..79a83421476 100644
--- a/src/VBox/NetworkServices/NAT/pxudp.c
+++ b/src/VBox/NetworkServices/NAT/pxudp.c
@@ -578,7 +578,7 @@ pxudp_pmgr_pump(struct pollmgr_handler *handler, SOCKET fd, int revents)
nread = recv(pxudp->sock, pollmgr_udpbuf, sizeof(pollmgr_udpbuf), 0);
if (nread == SOCKET_ERROR) {
- perror(__func__);
+ DPRINTF(("%s: %R[sockerr]\n", __func__, SOCKERRNO()));
return POLLIN;
}