aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-10-31 20:35:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-10-31 20:35:20 +0000
commitcc59f844e6bacaaeddcfbf012e7cbb191deb2c10 (patch)
tree0299b7de2c15aefc2a66663f025873d792637cda /usr.sbin/pkg_install/lib
parentaa15d330315256bf48fdf633477ec00b7460ccc6 (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 5771e3c857cb..9e9ca7d5e027 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.5 1995/10/14 19:11:44 jkh Exp $";
+static const char *rcsid = "$Id: file.c,v 1.10.4.6 1995/10/15 14:08:40 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;