libeplayer3: minor adjustments

Origin commit data
------------------
Branch: master
Commit: 2729075a35
Author: martii <m4rtii@gmx.de>
Date: 2014-04-16 (Wed, 16 Apr 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-04-16 17:26:53 +02:00
parent 5f271b7642
commit eb7717d710
5 changed files with 9 additions and 10 deletions

View File

@@ -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;