diff --git a/bcache-test.c b/bcache-test.c index 876f4924..8db853b6 100644 --- a/bcache-test.c +++ b/bcache-test.c @@ -103,11 +103,8 @@ int main(int argc, char **argv) void *buf1 = NULL, *buf2 = NULL; struct pagestuff *pages, *p; unsigned char c[16]; - char *test; time_t last_printed = 0; - printf("strchr: %p\n", strchr); - RC4_KEY writedata; RC4_set_key(&writedata, 16, bcache_magic); @@ -138,8 +135,6 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } - test = strchr(argv[i], ':'); - fd1 = open(argv[i], (destructive ? O_RDWR : O_RDONLY)|direct); if (!csum) fd2 = open(argv[i + 1], (destructive ? O_RDWR : O_RDONLY)|direct); @@ -176,7 +171,7 @@ int main(int argc, char **argv) if (!verbose) { time_t now = time(NULL); - if (now - last_printed >= 5) { + if (now - last_printed >= 2) { last_printed = now; goto print; }