8316595: Alpine build fails after JDK-8314021

Reviewed-by: dholmes, yyang
This commit is contained in:
Matthias Baesken 2023-09-21 12:24:51 +00:00
parent b3d75fe12e
commit 378bcd5985

View file

@ -4373,7 +4373,7 @@ jlong os::Linux::fast_thread_cpu_time(clockid_t clockid) {
// the number of bytes written to out_fd is returned if transfer was successful
// otherwise, returns -1 that implies an error
jlong os::Linux::sendfile(int out_fd, int in_fd, jlong* offset, jlong count) {
return sendfile64(out_fd, in_fd, (off64_t*)offset, (size_t)count);
return ::sendfile64(out_fd, in_fd, (off64_t*)offset, (size_t)count);
}
// Determine if the vmid is the parent pid for a child in a PID namespace.