summaryrefslogtreecommitdiff
path: root/libusb/os/threads_windows.c
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-03 20:19:44 +0000
committerPete Batard <pbatard@gmail.com>2010-03-03 20:19:44 +0000
commit5ca0d11008d495f53e7d0f020534e6f9ebe49e69 (patch)
tree07b1c51c2179792cfc8d3a0af526c0e29e989a18 /libusb/os/threads_windows.c
parentad460bca7234ad38e24bcfe7aa3f515a2fbe007f (diff)
downloadlibusb-5ca0d11008d495f53e7d0f020534e6f9ebe49e69.tar.gz
residual corrections from previous commits (Michael Plante)r189
Diffstat (limited to 'libusb/os/threads_windows.c')
-rw-r--r--libusb/os/threads_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/threads_windows.c b/libusb/os/threads_windows.c
index da49eec..7762190 100644
--- a/libusb/os/threads_windows.c
+++ b/libusb/os/threads_windows.c
@@ -61,7 +61,7 @@ int usbi_mutex_lock(usbi_mutex_t *mutex) {
// so don't know proper errno
}
int usbi_mutex_unlock(usbi_mutex_t *mutex) {
- if(!mutex) return ((errno=EINVAL));
+ if(!mutex) return ((errno=EINVAL));
if(!ReleaseMutex(*mutex)) return ((errno=EPERM ));
return 0;
}