diff options
author | Keith Bostic <keith.bostic@wiredtiger.com> | 2012-01-02 12:54:41 +0000 |
---|---|---|
committer | Keith Bostic <keith.bostic@wiredtiger.com> | 2012-01-02 12:54:41 +0000 |
commit | 8911beab039731542e54295f979ecc8e6d923383 (patch) | |
tree | 293655ccb899d52f8c2c0ce8ad5964c2d28c634b /src/include/os.h | |
parent | bd38728138022d0af204d243404941c3ddf74b12 (diff) | |
download | mongo-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.h | 4 |
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; \ } \ |