]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/lfs-test.c
Configure: Fixed a bug in error handling.
[libucw.git] / ucw / lfs-test.c
index 07596cbd9cb2874d020f8028a1192d52876679f0..8ef657d7f0f1eb7725cb0173c5802dd27e228421 100644 (file)
@@ -25,7 +25,7 @@ int main(void)
        if (!b)
                die("Cannot create large-file");
 
-       log(L_DEBUG, "Writing %d blocks of size %d", COUNT, BLOCK);
+       msg(L_DEBUG, "Writing %d blocks of size %d", COUNT, BLOCK);
        for (i=0; i<COUNT; i++)
        {
                memset(block, i & 0xff, BLOCK);
@@ -41,7 +41,7 @@ int main(void)
        if (!b)
                die("Cannot create large-file");
 #endif
-       log(L_DEBUG, "Checking the file contents in %d tests", TESTS);
+       msg(L_DEBUG, "Checking the file contents in %d tests", TESTS);
        for (i=0; i<TESTS; i++)
        {
                uns idx = random()%COUNT;
@@ -56,7 +56,7 @@ int main(void)
                        fflush(stdout);
                }
        }
-       log(L_DEBUG, "Done");
+       msg(L_DEBUG, "Done");
 
        bclose(b);
        return 0;