mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
f285e922d8
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
16 lines
468 B
Diff
16 lines
468 B
Diff
diff --git a/source/os_specific/service_layers/osunixxf.c b/source/os_specific/service_layers/osunixxf.c
|
|
index 1698139..fbe02b7 100644
|
|
--- a/source/os_specific/service_layers/osunixxf.c
|
|
+++ b/source/os_specific/service_layers/osunixxf.c
|
|
@@ -1243,8 +1243,10 @@ ACPI_THREAD_ID
|
|
AcpiOsGetThreadId (
|
|
void)
|
|
{
|
|
+ pthread_t thread;
|
|
|
|
- return (ACPI_CAST_PTHREAD_T (pthread_self()));
|
|
+ thread = pthread_self();
|
|
+ return (ACPI_CAST_PTHREAD_T (thread));
|
|
}
|
|
|
|
|