diff --git a/plugins/dev9ghzdrk/Linux/net.cpp b/plugins/dev9ghzdrk/Linux/net.cpp index b1c8ec5011..1b56ade7da 100644 --- a/plugins/dev9ghzdrk/Linux/net.cpp +++ b/plugins/dev9ghzdrk/Linux/net.cpp @@ -55,7 +55,7 @@ void InitNet(NetAdapter* ad) int max_prio_for_policy = 0; - rx_thread = pthread_create(&rx_thread, NULL, NetRxThread, NULL); + int ret = pthread_create(&rx_thread, NULL, NetRxThread, NULL); pthread_attr_init(&thAttr); pthread_attr_getschedpolicy(&thAttr, &policy); max_prio_for_policy = sched_get_priority_max(policy);