diff --git a/ex19/ex19.c b/ex19/ex19.c index fda5e8d..ccc6923 100644 --- a/ex19/ex19.c +++ b/ex19/ex19.c @@ -1,4 +1,3 @@ - #include "dbg.h" #include #include @@ -36,7 +35,7 @@ int test_check(char *file_name) char *block = NULL; block = malloc(100); - check_mem(block); // should work + check_mem(block); // should work input = fopen(file_name, "r"); check(input, "Failed to open %s.", file_name); @@ -104,7 +103,7 @@ int main(int argc, char *argv[]) test_log_warn(); test_log_info(); - check(test_check("ex20.c") == 0, "failed with ex20.c"); + check(test_check("ex19.c") == 0, "failed with ex19.c"); check(test_check(argv[1]) == -1, "failed with argv"); check(test_sentinel(1) == 0, "test_sentinel failed."); check(test_sentinel(100) == -1, "test_sentinel failed.");