mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-12 16:09:15 +00:00
8380236: macOS build is broken by JDK-8359706
Reviewed-by: kbarrett
This commit is contained in:
parent
b0831572e2
commit
3a109f49fe
@ -2613,7 +2613,7 @@ void os::Bsd::print_open_file_descriptors(outputStream* st, char* buf, size_t bu
|
||||
pid_t my_pid;
|
||||
|
||||
// ensure the scratch buffer is big enough for at least one FD info struct
|
||||
assert(buflen >= sizeof(struct proc_fdinfo));
|
||||
precond(buflen >= sizeof(struct proc_fdinfo));
|
||||
kern_return_t kres = pid_for_task(mach_task_self(), &my_pid);
|
||||
if (kres != KERN_SUCCESS) {
|
||||
st->print_cr("Open File Descriptors: unknown");
|
||||
@ -2639,4 +2639,4 @@ void os::Bsd::print_open_file_descriptors(outputStream* st, char* buf, size_t bu
|
||||
#else
|
||||
st->print_cr("Open File Descriptors: unknown");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user