diff options
author | Bruno Haible <bruno@clisp.org> | 2004-09-29 20:14:02 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2004-09-29 20:14:02 +0000 |
commit | 6abae3924eb57e5eea340d55c10c7eab507b556c (patch) | |
tree | ab623b44fc5f1fe122c0f17494c54e895273d0b3 | |
parent | 632099fb5003327cb590523cc6a75ae143126a7a (diff) | |
download | gnulib-6abae3924eb57e5eea340d55c10c7eab507b556c.tar.gz |
Fixing a stupid typo in xvasprintf.c... from Oskar Liljeblad.
-rw-r--r-- | lib/ChangeLog | 5 | ||||
-rw-r--r-- | lib/xvasprintf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index faf7e4457c..f72d532e8a 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2004-09-29 Oskar Liljeblad <oskar@osk.mine.nu> + + * xvasprintf.c: Include xalloc.h. + (xvasprintf): Use xalloc_die, not xmalloc_die. + 2004-09-28 Paul Eggert <eggert@cs.ucla.edu> * dummy.c: Change copyright notice to FSF, and license to GPL. diff --git a/lib/xvasprintf.c b/lib/xvasprintf.c index 89b5836334..beea45ac13 100644 --- a/lib/xvasprintf.c +++ b/lib/xvasprintf.c @@ -25,6 +25,7 @@ #include <errno.h> #include "vasprintf.h" +#include "xalloc.h" char * xvasprintf (const char *format, va_list args) @@ -34,7 +35,7 @@ xvasprintf (const char *format, va_list args) if (vasprintf (&result, format, args) < 0) { if (errno == ENOMEM) - xmalloc_die(); + xalloc_die (); return NULL; } |