]> git.deb.at Git - pkg/abook.git/blobdiff - xmalloc.c
- i18n support
[pkg/abook.git] / xmalloc.c
index 2b7fda6b666f2b0d715050b3ad486ff19a74c773..ca784be299a418063bc5fb4478a7e5959136e11e 100644 (file)
--- a/xmalloc.c
+++ b/xmalloc.c
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include "gettext.h"
 #include "xmalloc.h"
 
 static void
 xmalloc_default_error_handler(int err)
 {
-       fprintf(stderr, "Memory allocation failure: %s\n", strerror(err));
+       fprintf(stderr, _("Memory allocation failure: %s\n"), strerror(err));
        exit(EXIT_FAILURE);
 }