blob: dbd6e74519d6f933f1ed4e19b006e38c1d3d15e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/hash.cpp
+++ b/src/hash.cpp
@@ -279,7 +279,7 @@
MAP_FILE|
#endif
MAP_SHARED,fd,0);
- if(fdht->base>0){
+ if(fdht->base){
/* mmap is successful, so set the bounds.
* if it is not successful, we default to reading the fd
*/
|