*** empty log message ***
[gnulib.git] / lib / xvasprintf.c
index 89b5836..9e84766 100644 (file)
@@ -13,7 +13,7 @@
 
    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation,
-   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
@@ -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;
     }