summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index e228fbb..a04ef77 100644
--- a/src/util.c
+++ b/src/util.c
@@ -20,7 +20,7 @@ read_entire_file(const char *file_name, char **str, NUM *len)
FILE *file = fopen(file_name, "r");
if (!file) {
- eprintf("%s:%d, Cannot open file \"%s\": ",
+ eprintf("%s:%Cannot open file \"%s\": ",
__FILE__, __LINE__, file_name);
perror(NULL);
return 1;
@@ -35,7 +35,7 @@ read_entire_file(const char *file_name, char **str, NUM *len)
*str = realloc(*str, 1+file_size);
if (*str == NULL) {
- fleprintf0("%s:%d, Cannot realloc\n");
+ fleprintf0("Cannot realloc\n");
return 1;
}