summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/tagdb/parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/tagdb/parser.c b/apps/tagdb/parser.c
index 1d251dcbe3..6eec3bad1c 100644
--- a/apps/tagdb/parser.c
+++ b/apps/tagdb/parser.c
@@ -1,11 +1,10 @@
1#include <stdio.h> 1#include <stdio.h>
2#include <stdint.h> 2#include <stdint.h>
3#include <stdlib.h> 3#include <stdlib.h>
4#include <errno.h>
4 5
5#include "config.h" 6#include "config.h"
6 7
7int errno;
8
9int read_failure(FILE *fd) { 8int read_failure(FILE *fd) {
10 fprintf(stderr, "Could not read from file: errno: %u ", errno); 9 fprintf(stderr, "Could not read from file: errno: %u ", errno);
11 if( feof(fd) ) fprintf(stderr, "EOF"); 10 if( feof(fd) ) fprintf(stderr, "EOF");