aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 0191d18..9033466 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -29,6 +29,8 @@
#include <stdio.h>
#include <stdlib.h>
+#include "utils.h"
+
void chomp(char *s)
{
size_t i;
@@ -125,7 +127,7 @@ char *load_everything(const char *filename)
everything = realloc(everything, el+len);
if ( everything == NULL ) {
- fprintf(stderr, "Failed to allocate memory\n");
+ fprintf(stderr, _("Failed to allocate memory\n"));
return NULL;
}
el += len;