summaryrefslogtreecommitdiff
path: root/lib/cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-09-27 22:03:52 +0000
committerjbj <devnull@localhost>1998-09-27 22:03:52 +0000
commitfd068345e6e5165b8b772edc3392adda228800fe (patch)
treec331c30f8ec940d6d0d2d36dec3f6f12db257132 /lib/cpio.c
parent4ce5eff979df73a23c4ef071e52cff67693e15d2 (diff)
downloadlibrpm-tizen-fd068345e6e5165b8b772edc3392adda228800fe.tar.gz
librpm-tizen-fd068345e6e5165b8b772edc3392adda228800fe.tar.bz2
librpm-tizen-fd068345e6e5165b8b772edc3392adda228800fe.zip
add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>)
gettextify rpmMessage/rpmError/fprintf messages. CVS patchset: 2368 CVS date: 1998/09/27 22:03:52
Diffstat (limited to 'lib/cpio.c')
-rw-r--r--lib/cpio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cpio.c b/lib/cpio.c
index eb4806320..a6e0c8dee 100644
--- a/lib/cpio.c
+++ b/lib/cpio.c
@@ -1,5 +1,6 @@
#include "system.h"
+#include "intl.h"
#include "cpio.h"
#define CPIO_NEWC_MAGIC "070701"
@@ -521,7 +522,8 @@ int cpioInstallArchive(CFD_t *cfd, struct cpioFileMapping * mappings,
do {
if ((rc = getNextHeader(cfd, &ch))) {
- printf("error %d reading header: %s\n", rc, strerror(errno));
+ fprintf(stderr, _("error %d reading header: %s\n"),
+ rc, strerror(errno));
exit(1);
}