diff options
author | Florian Festi <ffesti@redhat.com> | 2013-11-26 09:51:23 +0100 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2014-01-31 09:49:43 +0200 |
commit | e13753421a1ed91c1b8589181a45045f59f76bec (patch) | |
tree | 1e1e0c1821a71476bf90c321c057135ba140c5e9 /build | |
parent | 51cc2ec3b12fec80c3091d1c97997d645798ae7b (diff) | |
download | rpm-e13753421a1ed91c1b8589181a45045f59f76bec.tar.gz |
Rename CPIOERR_* to RPMERR_* as they are not all related to cpio or the archive
Diffstat (limited to 'build')
-rw-r--r-- | build/pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/pack.c b/build/pack.c index d4f8ec2ec..5fbca42c4 100644 --- a/build/pack.c +++ b/build/pack.c @@ -39,7 +39,7 @@ static int rpmPackageFilesArchive(rpmfiles fi, int isSrc, rfd = Fopen(path, "r.ufdio"); if (Ferror(rfd)) { - rc = CPIOERR_OPEN_FAILED; + rc = RPMERR_OPEN_FAILED; } else { rc = rpmfiArchiveWriteFile(archive, rfd); } @@ -54,7 +54,7 @@ static int rpmPackageFilesArchive(rpmfiles fi, int isSrc, } } - if (rc == CPIOERR_HDR_TRAILER) + if (rc == RPMERR_ITER_END) rc = 0; if (archiveSize) |