winealsa: Fix -errno typo.

This commit is contained in:
Jörg Höhle 2012-01-27 10:03:01 +01:00 committed by Alexandre Julliard
parent 7c52a257fb
commit 594002d011
1 changed files with 1 additions and 1 deletions

View File

@ -582,7 +582,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(const char *key, IMMDevice *dev,
HeapFree(GetProcessHeap(), 0, This);
WARN("Unable to open PCM \"%s\": %d (%s)\n", key, err, snd_strerror(err));
switch(err){
case EBUSY:
case -EBUSY:
return AUDCLNT_E_DEVICE_IN_USE;
default:
return AUDCLNT_E_ENDPOINT_CREATE_FAILED;