X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ffunctional%2Ffnmatch.c;h=e822456cedeb7915bdfb778027fbf0c2a4cd7491;hb=47997c60641d55d6101a424c9a664a7ff6bad20f;hp=33f508ff6b9ec980a379a6df7712c61a868c94ab;hpb=2cf89517c5b25c2524fe0c0c01ed277d7307a852;p=libc-test diff --git a/src/functional/fnmatch.c b/src/functional/fnmatch.c index 33f508f..e822456 100644 --- a/src/functional/fnmatch.c +++ b/src/functional/fnmatch.c @@ -128,11 +128,11 @@ int main(void) r = fnmatch(tests[i].pattern, tests[i].string, tests[i].flags); x = tests[i].expected; if (r != x && (r != FNM_NOMATCH || x != -FNM_NOMATCH)) { - error("fnmatch(\"%s\", \"%s\", %s) failed, got %d want %d\n", + t_error("fnmatch(\"%s\", \"%s\", %s) failed, got %d want %d\n", tests[i].pattern, tests[i].string, flagstr(fnmatch_flags, tests[i].flags), r, x); } } - return test_status; + return t_status; }