diff options
-rw-r--r-- | tools/rdf2binary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rdf2binary.c b/tools/rdf2binary.c index 3b3afd59db..cfafcb21a1 100644 --- a/tools/rdf2binary.c +++ b/tools/rdf2binary.c | |||
@@ -67,7 +67,7 @@ int main() | |||
67 | idx_out = fopen("dict.index", "wb"); | 67 | idx_out = fopen("dict.index", "wb"); |
68 | desc_out = fopen("dict.desc", "wb"); | 68 | desc_out = fopen("dict.desc", "wb"); |
69 | 69 | ||
70 | if (in == NULL || idx_out < 0 || desc_out < 0) | 70 | if (in == NULL || idx_out == NULL || desc_out == NULL) |
71 | { | 71 | { |
72 | fprintf(stderr, "Error: Some files couldn't be opened\n"); | 72 | fprintf(stderr, "Error: Some files couldn't be opened\n"); |
73 | return 1; | 73 | return 1; |