Add a couple of architectures.
[platform/upstream/libsolv.git] / tools / cudftest.c
index bf5bbca..75aeef5 100644 (file)
@@ -68,7 +68,7 @@ main(int argc, char **argv)
     }
   if (argc < 2)
     {
-      fprintf(stderr, "Usage: cudftest <cudfin> [cudfout]");
+      fprintf(stderr, "Usage: cudftest <cudfin> [cudfout]\n");
       exit(1);
     }
   cudfin = argv[1];
@@ -87,6 +87,8 @@ main(int argc, char **argv)
   repo = repo_create(pool, "repo");
   queue_init(&job);
   repo_add_cudf(repo, installed, fp, &job, 0);
+  fclose(fp);
+
   pool_createwhatprovides(pool);
 
   /* debug */