summaryrefslogtreecommitdiff
path: root/lib/rpmlead.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-09-01 21:15:40 +0000
committerjbj <devnull@localhost>2000-09-01 21:15:40 +0000
commitf2efc7263e952cef24f2196f92d02ee0b3b9aa1e (patch)
tree9fc55f7f93eb4a4d875c20a868f430f1b15af141 /lib/rpmlead.c
parent4f0179f7ee468c3876ee823a69d89c236784372f (diff)
downloadlibrpm-tizen-f2efc7263e952cef24f2196f92d02ee0b3b9aa1e.tar.gz
librpm-tizen-f2efc7263e952cef24f2196f92d02ee0b3b9aa1e.tar.bz2
librpm-tizen-f2efc7263e952cef24f2196f92d02ee0b3b9aa1e.zip
- unify rpmError and rpmMessge interfaces through rpmlog.
- collect and display rpm build error messages at end of build. CVS patchset: 4149 CVS date: 2000/09/01 21:15:40
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 89154b139..7d55a7923 100644
--- a/lib/rpmlead.c
+++ b/lib/rpmlead.c
@@ -49,7 +49,7 @@ int writeLead(FD_t fd, struct rpmlead *lead)
int readLead(FD_t fd, struct rpmlead *lead)
{
if (timedRead(fd, (char *)lead, sizeof(*lead)) != sizeof(*lead)) {
- rpmError(RPMERR_READERROR, _("read failed: %s (%d)"), Fstrerror(fd),
+ rpmError(RPMERR_READ, _("read failed: %s (%d)"), Fstrerror(fd),
errno);
return 1;
}