summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-26 12:37:46 +0000
committerjkh <jkh@FreeBSD.org>1995-04-26 12:37:46 +0000
commit4afd6c66c71faddfe03b3709510590894483f610 (patch)
treec4488c152ee1a6745722536ccc49bd34276c7840 /usr.sbin/pkg_install/create/perform.c
parent4d406202b113fd4ac8d578c24fdfd836572ed762 (diff)
downloadFreeBSD-src-4afd6c66c71faddfe03b3709510590894483f610.zip
FreeBSD-src-4afd6c66c71faddfe03b3709510590894483f610.tar.gz
Yikes! How did that typo slip past! I'd swear I compiled it. Oh well,
thanks, Satoshi! Embarrassed by: asami
Diffstat (limited to 'usr.sbin/pkg_install/create/perform.c')
-rw-r--r--usr.sbin/pkg_install/create/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 309eaac..fc78cf2 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.22 1995/04/24 21:50:11 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.23 1995/04/26 11:43:20 jkh Exp $";
#endif
/*
@@ -193,7 +193,7 @@ make_dist(char *home, char *pkg, char *suffix, Package *plist)
else
snprintf(tball, max, "%s/%s.%s", home, pkg, suffix);
if (index(suffix, 'z')) /* Compress/gzip? */
- stnrcat(cmd, "-z", max - strlen(cmd));
+ strncat(cmd, "-z", max - strlen(cmd));
if (Dereference)
strncat(cmd, "h", max - strlen(cmd));
if (Verbose)
OpenPOWER on IntegriCloud