summaryrefslogtreecommitdiffstats
path: root/include/qemu/thread-posix.h
diff options
context:
space:
mode:
authorEmilio G. Cota2017-11-10 01:30:11 +0100
committerPaolo Bonzini2017-11-14 14:31:33 +0100
commit54113dd5eb2a45cf76769622d04d22722405eaa1 (patch)
tree1a7048ac05a38c528482722a170fecad81845567 /include/qemu/thread-posix.h
parentMakefile: simpler/faster "make help" (diff)
downloadqemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.gz
qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.tar.xz
qemu-54113dd5eb2a45cf76769622d04d22722405eaa1.zip
thread-posix: fix qemu_rec_mutex_trylock macro
We never noticed because it has no users. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1510273811-13419-1-git-send-email-cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/thread-posix.h')
-rw-r--r--include/qemu/thread-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/thread-posix.h b/include/qemu/thread-posix.h
index f4296d31c4..f3f47e426f 100644
--- a/include/qemu/thread-posix.h
+++ b/include/qemu/thread-posix.h
@@ -7,7 +7,7 @@
typedef QemuMutex QemuRecMutex;
#define qemu_rec_mutex_destroy qemu_mutex_destroy
#define qemu_rec_mutex_lock qemu_mutex_lock
-#define qemu_rec_mutex_try_lock qemu_mutex_try_lock
+#define qemu_rec_mutex_trylock qemu_mutex_trylock
#define qemu_rec_mutex_unlock qemu_mutex_unlock
struct QemuMutex {