aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-10-31 20:30:18 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-10-31 20:30:18 +0000
commit58a00a4f4c83ed8aff8b658ebe29e7a4674ca955 (patch)
tree8841d9bc39a9e78b48b9d3a8768121f38cc8be81 /usr.sbin/pkg_install/lib
parent45e829f5a5446c51eaa508142ece28d3849f8776 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install/lib')
-rw-r--r--usr.sbin/pkg_install/lib/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/file.c b/usr.sbin/pkg_install/lib/file.c
index 86e00054985f..ce17e97fe929 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: file.c,v 1.10.4.6 1995/10/15 14:08:40 jkh Exp $";
+static const char *rcsid = "$Id: file.c,v 1.17 1995/10/25 15:38:32 jkh Exp $";
#endif
/*
@@ -335,7 +335,7 @@ fileFindByPath(char *base, char *fname)
char *cp2 = strsep(&cp, ":");
snprintf(tmp, FILENAME_MAX, "%s/%s.tgz", cp2 ? cp2 : cp, fname);
- if (fexists(tmp) && isfile(fname))
+ if (fexists(tmp) && isfile(tmp))
return tmp;
}
return NULL;