X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fregression%2Fmalloc-oom.c;h=d9a1f6ed6f8b7ce780f60521e7368ae35d97fe99;hp=4e40ccde962a255abf0368d3e5d4c90cb59a29b7;hb=a7679dc971b8f1174ee0d308aa3590787634a343;hpb=52786d05a47285d2b733273cadb8ef2d7bc1ca12 diff --git a/src/regression/malloc-oom.c b/src/regression/malloc-oom.c index 4e40ccd..d9a1f6e 100644 --- a/src/regression/malloc-oom.c +++ b/src/regression/malloc-oom.c @@ -6,8 +6,8 @@ int main(void) { - if (t_vmfill(0,0,0) < 0) - t_error("vmfill failed: %s\n", strerror(errno)); + if (t_memfill() < 0) + t_error("memfill failed\n"); errno = 0; if (malloc(50000))