Resolves: rhbz#618181 Related: rhbz#588671 --- pyanaconda/isys/uncpio.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyanaconda/isys/uncpio.c b/pyanaconda/isys/uncpio.c index 171eb6b..2e686a3 100644 --- a/pyanaconda/isys/uncpio.c +++ b/pyanaconda/isys/uncpio.c @@ -39,6 +39,7 @@ #include "cpio.h" #include "stubs.h" +#include "log.h" #if MAJOR_IN_SYSMACROS #include <sys/sysmacros.h> @@ -504,7 +505,7 @@ int myCpioInstallArchive(gzFile stream, struct cpioFileMapping * mappings, do { if ((rc = getNextHeader(&fd, &ch, NULL))) { - fprintf(stderr, _("error %d reading header: %s\n"), rc, + logMessage( WARNING, _("error %d reading header: %s\n"), rc, myCpioStrerror(rc)); return CPIOERR_BAD_HEADER; } @@ -755,7 +756,7 @@ int myCpioFilterArchive(gzFile inStream, gzFile outStream, char ** patterns) { do { if ((rc = getNextHeader(&inFd, &ch, &pHeader))) { - fprintf(stderr, _("error %d reading header: %s\n"), rc, + logMessage( WARNING, _("error %d reading header: %s\n"), rc, myCpioStrerror(rc)); return CPIOERR_BAD_HEADER; } -- 1.7.1.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list