diff options
author | jbj <devnull@localhost> | 2002-04-13 01:28:20 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-04-13 01:28:20 +0000 |
commit | 46bbc20b324f456a9ff104f5e7300215950fb6c9 (patch) | |
tree | 868c53f9c61a2bf79ebf3a4928fb952628c72a91 /lib/rpmlead.c | |
parent | 8edea74bb45267034d2e4eb3e39e2883824e03ce (diff) | |
download | rpm-46bbc20b324f456a9ff104f5e7300215950fb6c9.tar.gz rpm-46bbc20b324f456a9ff104f5e7300215950fb6c9.tar.bz2 rpm-46bbc20b324f456a9ff104f5e7300215950fb6c9.zip |
- use rpmdb-redhat to suggest dependency resolution(s).
CVS patchset: 5401
CVS date: 2002/04/13 01:28:20
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r-- | lib/rpmlead.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c index 9a19e8b4b..032ffb484 100644 --- a/lib/rpmlead.c +++ b/lib/rpmlead.c @@ -33,11 +33,8 @@ int writeLead(FD_t fd, const struct rpmlead *lead) l.osnum = htons(l.osnum); l.signature_type = htons(l.signature_type); - /*@-sizeoftype@*/ - if (Fwrite(&l, sizeof(char), sizeof(l), fd) != sizeof(l)) { + if (Fwrite(&l, 1, sizeof(l), fd) != sizeof(l)) return 1; - } - /*@=sizeoftype@*/ return 0; } |