mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: minor adjustments
This commit is contained in:
@@ -52,7 +52,7 @@ void *Player::playthread(void *arg)
|
||||
char threadname[17];
|
||||
strncpy(threadname, __func__, sizeof(threadname));
|
||||
threadname[16] = 0;
|
||||
prctl(PR_SET_NAME, (unsigned long) &threadname);
|
||||
prctl(PR_SET_NAME, (unsigned long) threadname);
|
||||
|
||||
Player *player = (Player *) arg;
|
||||
player->hasThreadStarted = true;
|
||||
|
Reference in New Issue
Block a user