File deltarpm.opentypo.diff of Package deltarpm

--- ./makedeltarpm.c.orig	2008-10-02 14:56:04.000000000 +0000
+++ ./makedeltarpm.c	2008-10-02 14:56:46.000000000 +0000
@@ -566,7 +566,7 @@ main(int argc, char **argv)
       nevr1 = rpmlread(pfp, argv[argc - 5 + alone], 0, &files1, &nfiles1);
       fclose(pfp);
       pfd = open(argv[argc - 4 + alone], O_RDONLY);
-      if (pfp < 0)
+      if (pfd < 0)
 	{
 	  perror(argv[argc - 4 + alone]);
 	  exit(1);