summaryrefslogtreecommitdiff
path: root/src/include/os.h
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@wiredtiger.com>2012-01-02 12:54:41 +0000
committerKeith Bostic <keith.bostic@wiredtiger.com>2012-01-02 12:54:41 +0000
commit8911beab039731542e54295f979ecc8e6d923383 (patch)
tree293655ccb899d52f8c2c0ce8ad5964c2d28c634b /src/include/os.h
parentbd38728138022d0af204d243404941c3ddf74b12 (diff)
downloadmongo-8911beab039731542e54295f979ecc8e6d923383.tar.gz
Add a "WT" prefix to SYSCALL_RETRY, change the open call to use the standard
macro.
Diffstat (limited to 'src/include/os.h')
-rw-r--r--src/include/os.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/os.h b/src/include/os.h
index 3dce5a5f9e9..4fe2151ea95 100644
--- a/src/include/os.h
+++ b/src/include/os.h
@@ -5,10 +5,10 @@
* All rights reserved.
*/
-#define SYSCALL_RETRY(call, ret) do { \
+#define WT_SYSCALL_RETRY(call, ret) do { \
int __retry; \
for (__retry = 0; __retry < 10; ++__retry) { \
- if ((call)) { \
+ if ((call) == 0) { \
(ret) = 0; \
break; \
} \