summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/info/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-28 18:24:31 +0000
committerjkh <jkh@FreeBSD.org>1995-04-28 18:24:31 +0000
commit4b3de059b50694fb6a7a007be6ec33e9216edfe6 (patch)
tree0e20dcb5e2fc677a6284ea53624e1e1ab3ca08a6 /usr.sbin/pkg_install/info/perform.c
parent9e8517e291a4b15a4ee478c942e278da29e4d2a6 (diff)
downloadFreeBSD-src-4b3de059b50694fb6a7a007be6ec33e9216edfe6.zip
FreeBSD-src-4b3de059b50694fb6a7a007be6ec33e9216edfe6.tar.gz
Whoops! One of my automatics was initialized to garbage. Fix it.
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r--usr.sbin/pkg_install/info/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c
index 36c7488..f43da33 100644
--- a/usr.sbin/pkg_install/info/perform.c
+++ b/usr.sbin/pkg_install/info/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.12 1995/04/19 14:02:00 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.13 1995/04/26 15:08:02 jkh Exp $";
#endif
/*
@@ -81,8 +81,8 @@ pkg_do(char *pkg)
char fname[FILENAME_MAX];
Package plist;
FILE *fp;
- char *cp;
struct stat sb;
+ char *cp = NULL;
int code = 0;
if (isURL(pkg)) {
OpenPOWER on IntegriCloud