summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-11-18 18:02:36 +0000
committerroot <devnull@localhost>1996-11-18 18:02:36 +0000
commitd382745d17ae859c0ad43d691648da576bd70907 (patch)
tree1c62239339a9bcba0f2f3f3d9d9b90b479ae2d3e /lib/rpmlead.c
parent5c46c799f264c30b6414f4a64e27b42ca829bb51 (diff)
downloadlibrpm-tizen-d382745d17ae859c0ad43d691648da576bd70907.tar.gz
librpm-tizen-d382745d17ae859c0ad43d691648da576bd70907.tar.bz2
librpm-tizen-d382745d17ae859c0ad43d691648da576bd70907.zip
The Great Renaming
CVS patchset: 1171 CVS date: 1996/11/18 18:02:36
Diffstat (limited to 'lib/rpmlead.c')
-rw-r--r--lib/rpmlead.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmlead.c b/lib/rpmlead.c
index d5b10bece..4e4bcc8e1 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -9,7 +9,7 @@
#include <string.h>
#include <errno.h>
-#include "rpmerr.h"
+#include "rpmlib.h"
#include "rpmlead.h"
#include "tread.h"
@@ -39,7 +39,7 @@ int writeLead(int fd, struct rpmlead *lead)
int readLead(int fd, struct rpmlead *lead)
{
if (timedRead(fd, lead, sizeof(*lead)) != sizeof(*lead)) {
- error(RPMERR_READERROR, "read failed: %s (%d)", strerror(errno),
+ rpmError(RPMERR_READERROR, "read failed: %s (%d)", strerror(errno),
errno);
return 1;
}