use RPMLEAD_SIZE from rpmlead.h
authormarc <devnull@localhost>
Fri, 5 Jan 1996 02:04:26 +0000 (02:04 +0000)
committermarc <devnull@localhost>
Fri, 5 Jan 1996 02:04:26 +0000 (02:04 +0000)
CVS patchset: 122
CVS date: 1996/01/05 02:04:26

tools/rpmlead.c

index a71a2ea..94ba954 100644 (file)
@@ -4,7 +4,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-#include "pack.h"
+#include "rpmlead.h"
 
 int main(int argc, char **argv)
 {
@@ -17,8 +17,8 @@ int main(int argc, char **argv)
        fd = open(argv[1], O_RDONLY, 0644);
     }
 
-    read(fd, &buffer, RPM_LEAD_SIZE);
-    write(1, &buffer, RPM_LEAD_SIZE);
+    read(fd, &buffer, RPMLEAD_SIZE);
+    write(1, &buffer, RPMLEAD_SIZE);
     
     return 0;
 }