diff --git a/cc/silo/bomb_silo.cc b/cc/silo/bomb_silo.cc index cfc3229d..02b7c698 100644 --- a/cc/silo/bomb_silo.cc +++ b/cc/silo/bomb_silo.cc @@ -44,7 +44,7 @@ int main(int argc, char* argv[]) try { std::string logpath; genLogFile(logpath, thid); trans.logfile_.open(logpath, O_CREAT | O_TRUNC | O_WRONLY, 0644); - trans.logfile_.ftruncate(10 ^ 9); + trans.logfile_.ftruncate(1000000000); #else (void) trans; #endif diff --git a/cc/silo/sbomb_silo.cc b/cc/silo/sbomb_silo.cc index b74a76a1..c0e62110 100644 --- a/cc/silo/sbomb_silo.cc +++ b/cc/silo/sbomb_silo.cc @@ -43,7 +43,7 @@ int main(int argc, char* argv[]) try { std::string logpath; genLogFile(logpath, thid); trans.logfile_.open(logpath, O_CREAT | O_TRUNC | O_WRONLY, 0644); - trans.logfile_.ftruncate(10 ^ 9); + trans.logfile_.ftruncate(1000000000); #else (void) trans; #endif diff --git a/cc/silo/tpcc_silo.cc b/cc/silo/tpcc_silo.cc index 7ea90938..8bf6b808 100644 --- a/cc/silo/tpcc_silo.cc +++ b/cc/silo/tpcc_silo.cc @@ -43,7 +43,7 @@ int main(int argc, char* argv[]) try { std::string logpath; genLogFile(logpath, thid); trans.logfile_.open(logpath, O_CREAT | O_TRUNC | O_WRONLY, 0644); - trans.logfile_.ftruncate(10 ^ 9); + trans.logfile_.ftruncate(1000000000); #else (void) trans; #endif diff --git a/cc/silo/ycsb_silo.cc b/cc/silo/ycsb_silo.cc index 29237daa..2bb75ce2 100644 --- a/cc/silo/ycsb_silo.cc +++ b/cc/silo/ycsb_silo.cc @@ -44,7 +44,7 @@ int main(int argc, char* argv[]) try { std::string logpath; genLogFile(logpath, thid); trans.logfile_.open(logpath, O_CREAT | O_TRUNC | O_WRONLY, 0644); - trans.logfile_.ftruncate(10 ^ 9); + trans.logfile_.ftruncate(1000000000); #else (void) trans; #endif diff --git a/cc/ss2pl/bomb_ss2pl.cc b/cc/ss2pl/bomb_ss2pl.cc index c4fd477e..051d732b 100644 --- a/cc/ss2pl/bomb_ss2pl.cc +++ b/cc/ss2pl/bomb_ss2pl.cc @@ -42,7 +42,7 @@ int main(int argc, char* argv[]) try { std::string logpath; genLogFile(logpath, thid); trans.logfile_.open(logpath, O_CREAT | O_TRUNC | O_WRONLY, 0644); - trans.logfile_.ftruncate(10 ^ 9); + trans.logfile_.ftruncate(1000000000); #else (void) trans; #endif