summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-10-27 23:18:10 +0000
committerjbj <devnull@localhost>1999-10-27 23:18:10 +0000
commit0d0b405c201b43f2eebc61257f5992931e1cdb0c (patch)
tree7b19eee73f74dbd86e65255cff8be16b58292035 /lib/rpmlead.c
parent82c75cb6a261465700ca469793b54ad68bef99a8 (diff)
downloadlibrpm-tizen-0d0b405c201b43f2eebc61257f5992931e1cdb0c.tar.gz
librpm-tizen-0d0b405c201b43f2eebc61257f5992931e1cdb0c.tar.bz2
librpm-tizen-0d0b405c201b43f2eebc61257f5992931e1cdb0c.zip
use compressed filenames on install side.
start unifying FD types, CFD_t now gone. CVS patchset: 3402 CVS date: 1999/10/27 23:18:10
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r--lib/rpmlead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index 9eb81179b..574577f6c 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -35,7 +35,7 @@ int writeLead(FD_t fd, struct rpmlead *lead)
l.osnum = htons(l.osnum);
l.signature_type = htons(l.signature_type);
- if (fdWrite(fd, &l, sizeof(l)) < 0) {
+ if (Fwrite(&l, sizeof(l), 1, fd) < 0) {
return 1;
}