summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-29 01:57:37 +0000
committerjbj <devnull@localhost>2000-02-29 01:57:37 +0000
commit968b07939a883a54b17cc35702e93a0191bfb374 (patch)
treed0159c8b913c2be39aa6b9029b772dd33e898f42 /build
parent39d03aa29e19bcb01471de836c5d0793ab8d9e5c (diff)
downloadrpm-968b07939a883a54b17cc35702e93a0191bfb374.tar.gz
Can't print a NULL on non-GNU systems.
CVS patchset: 3599 CVS date: 2000/02/29 01:57:37
Diffstat (limited to 'build')
-rw-r--r--build/build.c2
-rw-r--r--build/pack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/build.c b/build/build.c
index dc5b3156c..5ea9aefc4 100644
--- a/build/build.c
+++ b/build/build.c
@@ -107,7 +107,7 @@ int doScript(Spec spec, int what, const char *name, StringBuf sb, int test)
}
if (makeTempFile(rootURL, &scriptName, &fd) || fd == NULL || Ferror(fd)) {
- rpmError(RPMERR_SCRIPT, _("Unable to open temp file %s."), scriptName);
+ rpmError(RPMERR_SCRIPT, _("Unable to open temp file."));
rc = RPMERR_SCRIPT;
goto exit;
}
diff --git a/build/pack.c b/build/pack.c
index f0bf85998..0d7fba162 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -309,7 +309,7 @@ int writeRPM(Header h, const char *fileName, int type,
/* Write the header */
if (makeTempFile(NULL, &sigtarget, &fd)) {
- rpmError(RPMERR_CREATE, _("Unable to open temp file %s."), sigtarget);
+ rpmError(RPMERR_CREATE, _("Unable to open temp file."));
return RPMERR_CREATE;
}