mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-17 06:39:50 +00:00
don't warn when file descriptor equality is unknown
linux uses kcmp(2) with KCMP_FILE, we have no equivalent
This commit is contained in:
@@ -397,10 +397,12 @@ are_file_descriptions_equal(int fd1, int fd2)
|
|||||||
static bool logged;
|
static bool logged;
|
||||||
|
|
||||||
if (!logged) {
|
if (!logged) {
|
||||||
|
#if DETECT_OS_LINUX
|
||||||
os_log_message("amdgpu: os_same_file_description couldn't "
|
os_log_message("amdgpu: os_same_file_description couldn't "
|
||||||
"determine if two DRM fds reference the same "
|
"determine if two DRM fds reference the same "
|
||||||
"file description.\n"
|
"file description.\n"
|
||||||
"If they do, bad things may happen!\n");
|
"If they do, bad things may happen!\n");
|
||||||
|
#endif
|
||||||
logged = true;
|
logged = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user