From: Joseph C. Lehner Date: Thu, 4 Feb 2016 08:04:25 +0000 (+0200) Subject: Fix compile error on Windows X-Git-Tag: v0.9~51 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9ad7767b6a91b3cb1cb1f4adea931a9feab1205f;p=oweals%2Fnmrpflash.git Fix compile error on Windows --- diff --git a/ethsock.c b/ethsock.c index 72c2940..c11f13d 100644 --- a/ethsock.c +++ b/ethsock.c @@ -333,7 +333,7 @@ ssize_t ethsock_recv(struct ethsock *sock, void *buf, size_t len) if (ret == WAIT_TIMEOUT) { return 0; } else if (ret != WAIT_OBJECT_0) { - win_perror("WaitForSingleObject", ret); + win_perror2("WaitForSingleObject", ret); return -1; } }