From: jbj Date: Fri, 19 Feb 1999 15:23:34 +0000 (+0000) Subject: Typo. X-Git-Tag: rpm-4.4-release~3104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bbd07e2c481ac60a82ccddd3ec7bad1308703589;p=platform%2Fupstream%2Frpm.git Typo. CVS patchset: 2812 CVS date: 1999/02/19 15:23:34 --- diff --git a/lib/cpio.c b/lib/cpio.c index 2435e64..ae40dd4 100644 --- a/lib/cpio.c +++ b/lib/cpio.c @@ -357,7 +357,7 @@ static int expandRegular(CFD_t * cfd, struct cpioHeader * hdr, /* Rename the old file before attempting unlink to avoid EBUSY errors */ if (!lstat(hdr->path, &sb)) { strcpy(buf, hdr->path); - strcpy(buf, "-RPMDELETE"); + strcat(buf, "-RPMDELETE"); if (rename(hdr->path, buf)) { fprintf(stderr, _("can't rename %s to %x: %s\n"), hdr->path, buf, strerror(errno));