summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-11-12 02:29:52 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-11-12 02:29:52 +0000
commit3875b5766769a5f75d460614c0279aaad72e0922 (patch)
treebbabfe80aa00ab9299ad380921707efac52a0e53
parent6684df41132b9d6fb646281bbacc95c09c400fe6 (diff)
downloadrockbox-3875b5766769a5f75d460614c0279aaad72e0922.tar.gz
rockbox-3875b5766769a5f75d460614c0279aaad72e0922.zip
fds are pointers, not ints.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11516 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/rdf2binary.c2
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;