diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c index 957ecafb72b8..386f34761d15 100644 --- a/usr.sbin/pkg_install/add/perform.c +++ b/usr.sbin/pkg_install/add/perform.c @@ -1,11 +1,11 @@ -/* $NetBSD: perform.c,v 1.32 1999/08/19 07:17:35 tron Exp $ */ +/* $NetBSD: perform.c,v 1.33 1999/08/19 07:18:38 tron Exp $ */ #include #ifndef lint #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.32 1999/08/19 07:17:35 tron Exp $"); +__RCSID("$NetBSD: perform.c,v 1.33 1999/08/19 07:18:38 tron Exp $"); #endif #endif @@ -275,8 +275,8 @@ pkg_do(char *pkg) int l; l = s-PkgName+1; - memcpy(buf, PkgName, l); - strcpy(&buf[l],"[0-9]*"); + (void) memcpy(buf, PkgName, l); + (void) strcpy(&buf[l],"[0-9]*"); if (findmatchingname(dbdir, buf, check_if_installed, installed) > 0) { warnx("other version '%s' already installed", installed);