diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-06-10 18:35:32 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2014-06-10 18:35:32 +0000 |
commit | adfc2663afdfa3b113a1d512c1d382d18c7ab20e (patch) | |
tree | 113eea5473c55ce017f9541d451e0a840e40ce3f /src/VBox/NetworkServices/NAT/pxudp.c | |
parent | 00d0ca7e5f07b62fe8e6ee9f7491e84dccf5303d (diff) | |
download | VirtualBox-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.c | 2 |
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; } |