Skip to content

Commit

Permalink
Backport 7ce5bd159024e70f5a997c47ed2ce962d6e6091b
Browse files Browse the repository at this point in the history
  • Loading branch information
duke committed Sep 19, 2023
1 parent 46f210c commit 433d3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ bool os::write(int fd, const void *buf, size_t nBytes) {
if (res == OS_ERR) {
return false;
}
buf = (void *)((char *)buf + nBytes);
buf = (void *)((char *)buf + res);
nBytes -= res;
}

Expand Down

0 comments on commit 433d3fa

Please sign in to comment.