X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-xalloc-die.c;h=d33e671998889761c94fb21e76c86adaf4ccdb14;hb=e2a63fac22e576729ec906a853b0a9cddc197d91;hp=e2817677879daf0e38292b200714798eeea6ff7d;hpb=a31c6b23b94970756cf070ab279bb6e5e6af0156;p=gnulib.git diff --git a/tests/test-xalloc-die.c b/tests/test-xalloc-die.c index e28176778..d33e67199 100644 --- a/tests/test-xalloc-die.c +++ b/tests/test-xalloc-die.c @@ -1,5 +1,5 @@ /* Test of xalloc_die() function. - Copyright (C) 2009 Free Software Foundation, Inc. + Copyright (C) 2009-2011 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 @@ -19,10 +19,12 @@ #include #include "xalloc.h" +#include "progname.h" int -main (void) +main (int argc _GL_UNUSED, char **argv) { + set_program_name (argv[0]); xalloc_die (); return 0; }