diff --git a/src/fs/dfsput.cc b/src/fs/dfsput.cc index 4b5569fd..36ad42eb 100644 --- a/src/fs/dfsput.cc +++ b/src/fs/dfsput.cc @@ -74,7 +74,7 @@ int main(int argc, char* argv[]) { uint32_t BLOCK_SIZE = con.settings.get("filesystem.block"); uint32_t NUM_SERVERS = con.settings.get>("network.nodes").size(); - char chunk [BLOCK_SIZE]; + char* chunk = new char[BLOCK_SIZE]; for(int i=1; i