diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-04-19 14:30:41 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-04-19 14:30:41 +0000 |
| commit | 8904f6abc62e9d53188c643096a67c1d34f0020f (patch) | |
| tree | 9ba80357d92aeb75ba3789a72fd85e5c5d64037a | |
| parent | b6a9763a693d4fdeaa08c214323048c61ad864d6 (diff) | |
| download | qmmp-8904f6abc62e9d53188c643096a67c1d34f0020f.tar.gz qmmp-8904f6abc62e9d53188c643096a67c1d34f0020f.tar.bz2 qmmp-8904f6abc62e9d53188c643096a67c1d34f0020f.zip | |
bio2jack: fixed error message
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3399 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/plugins/Output/jack/bio2jack.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/Output/jack/bio2jack.c b/src/plugins/Output/jack/bio2jack.c index 739118ab1..4692c52d0 100644 --- a/src/plugins/Output/jack/bio2jack.c +++ b/src/plugins/Output/jack/bio2jack.c @@ -346,8 +346,9 @@ releaseDriver(jack_driver_t * drv) TRACE("deviceID == %d\n", drv->deviceID); #endif */ - if(pthread_mutex_unlock(&drv->mutex) != 0) - ERR("lock returned an error: %s\n", strerror(errno)); + int err = 0; + if((err = pthread_mutex_unlock(&drv->mutex)) != 0) + ERR("lock returned an error: %d\n", err); } |
