summaryrefslogtreecommitdiff
path: root/s
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-04-20 09:16:47 -0400
committerDwight <dmerriman@gmail.com>2009-04-20 09:16:47 -0400
commit2a64bca3e2632aa964885e5938cf60780f88f88e (patch)
treefe588b0647d1bfe977c815ca1d3c651da10fdab8 /s
parent4a53d4665312c6dad801bb9b3652b56c8da3a3a4 (diff)
downloadmongo-2a64bca3e2632aa964885e5938cf60780f88f88e.tar.gz
compile windows
Diffstat (limited to 's')
-rw-r--r--s/strategy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/strategy.cpp b/s/strategy.cpp
index 80c5c945404..d866ae322cd 100644
--- a/s/strategy.cpp
+++ b/s/strategy.cpp
@@ -118,7 +118,7 @@ namespace mongo {
log() << "WriteBackListener uncaught exception!" << endl;
}
secsToSleep++;
- sleep(secsToSleep);
+ sleepsecs(secsToSleep);
if ( secsToSleep > 10 )
secsToSleep = 0;
}