correct tests compile error and warning

storage_pool
YuQing 2021-02-25 15:09:35 +08:00
parent 0ed5b405d9
commit 3f15be8d92
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ int main(int argc, char *argv[])
{
return result;
}
allocator.exceed_log_level = LOG_NOTHING;
allocator.alloc_elements.exceed_log_level = LOG_NOTHING;
if ((result=init_pthread_lock(&lock)) != 0) {
return result;

View File

@ -60,7 +60,7 @@ int main(int argc, char *argv[])
int fd;
int result;
int sleep_seconds;
int n;
int n = 0;
char buf[1024];
struct flock lock;