X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=xmalloc.c;h=ca784be299a418063bc5fb4478a7e5959136e11e;hb=4b8f9231090ada43f7e16987ec46ac7f45a914ec;hp=2b7fda6b666f2b0d715050b3ad486ff19a74c773;hpb=781c0d657fffe80e45d0fda6ed5ddbf5f796fefb;p=pkg%2Fabook.git diff --git a/xmalloc.c b/xmalloc.c index 2b7fda6..ca784be 100644 --- a/xmalloc.c +++ b/xmalloc.c @@ -36,12 +36,13 @@ #include #include #include +#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); }