summaryrefslogtreecommitdiff
path: root/lib/header.c
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-08-21 01:20:16 +0000
committerewt <devnull@localhost>1997-08-21 01:20:16 +0000
commitb782a7d4aa0c7273ebade951d8292a5584a80114 (patch)
tree01276fda8bcc91a1ed7e40acd2660ead9eef53f6 /lib/header.c
parenta50bad6f038dd3965a7702ebeda77de79ed74bbe (diff)
downloadrpm-b782a7d4aa0c7273ebade951d8292a5584a80114.tar.gz
rpm-b782a7d4aa0c7273ebade951d8292a5584a80114.tar.bz2
rpm-b782a7d4aa0c7273ebade951d8292a5584a80114.zip
1) rpm2cpio didn't handle zlib errors properly
2) query formats could yield (none)\n instead of just (none) 3) queries of fssizes w/o fsnames went bonkers CVS patchset: 1787 CVS date: 1997/08/21 01:20:16
Diffstat (limited to 'lib/header.c')
-rw-r--r--lib/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/header.c b/lib/header.c
index 12626840f..dd6f9c00e 100644
--- a/lib/header.c
+++ b/lib/header.c
@@ -1686,7 +1686,7 @@ static char * singleSprintf(Header h, struct sprintfToken * token,
if (numElements == -1) {
val = malloc(20);
- strcpy(val, "(none)\n");
+ strcpy(val, "(none)");
} else {
alloced = numElements * token->u.array.numTokens * 20;
val = malloc(alloced);