X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-printf-posix2.c;h=1bf67e059f329dc2df8b652c360702a4319574be;hb=e4c754e34096c0703a41f6c0e9fb7cc1f007b3ed;hp=b6e4fcc550078163b93e6219f079a61acd44aa73;hpb=7926b0fc363afde51a861a5aea4a8e93476c5526;p=gnulib.git diff --git a/tests/test-printf-posix2.c b/tests/test-printf-posix2.c index b6e4fcc55..1bf67e059 100644 --- a/tests/test-printf-posix2.c +++ b/tests/test-printf-posix2.c @@ -1,5 +1,5 @@ /* Test of POSIX compatible printf() function. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -73,11 +73,11 @@ main (int argc, char *argv[]) { case 0: { - void *memory = malloc (5000000); - if (memory == NULL) - return 1; - memset (memory, 17, 5000000); - return 78; + void *memory = malloc (5000000); + if (memory == NULL) + return 1; + memset (memory, 17, 5000000); + return 78; } case 1: ret = printf ("%.5000000f", 1.0);