aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/win32/win_efile.c
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-12-08 13:32:09 +0100
committerRaimo Niskanen <[email protected]>2011-12-20 12:07:41 +0100
commitb3db46435e2d32aa4197753bc95a81648f794021 (patch)
treec79295468315656a94f86f816ed914bdd830b312 /erts/emulator/drivers/win32/win_efile.c
parentd34e248f0913a337f1662e07b15298f9a082834b (diff)
downloadotp-b3db46435e2d32aa4197753bc95a81648f794021.tar.gz
otp-b3db46435e2d32aa4197753bc95a81648f794021.tar.bz2
otp-b3db46435e2d32aa4197753bc95a81648f794021.zip
erts: rewrite efile_writev to handle partial writes correctly
Diffstat (limited to 'erts/emulator/drivers/win32/win_efile.c')
-rw-r--r--erts/emulator/drivers/win32/win_efile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/emulator/drivers/win32/win_efile.c b/erts/emulator/drivers/win32/win_efile.c
index 0d3d334154..606fa1d7de 100644
--- a/erts/emulator/drivers/win32/win_efile.c
+++ b/erts/emulator/drivers/win32/win_efile.c
@@ -1115,8 +1115,7 @@ efile_writev(Efile_error* errInfo, /* Where to return error codes */
SysIOVec* iov, /* Vector of buffer structs.
* The structs are unchanged
* after the call */
- int iovcnt, /* Number of structs in vector */
- size_t size) /* Number of bytes to write */
+ int iovcnt) /* Number of structs in vector */
{
int cnt; /* Buffers so far written */
OVERLAPPED overlapped;