summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-10-14 18:52:04 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-10-14 18:52:04 +0000
commit27f612d03f28288a629cdf1ec130d433c45cb02c (patch)
tree36f6c7fffb8f48f875a2d8e5dcfd94fa7216de8e
parent9eefce67dca2e6e6ace195ef9c08466434bd50dc (diff)
Notes
-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 760f7777acc9..c12b35ca03dd 100644
--- a/usr.sbin/pkg_install/lib/file.c
+++ b/usr.sbin/pkg_install/lib/file.c
@@ -1,6 +1,6 @@
#ifndef lint
static const char rcsid[] =
- "$Id: file.c,v 1.32 1998/09/11 07:26:58 jkh Exp $";
+ "$Id: file.c,v 1.33 1998/10/09 00:01:16 jkh Exp $";
#endif
/*
@@ -47,7 +47,7 @@ isdir(char *fname)
{
struct stat sb;
- if (lstat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode))
+ if (stat(fname, &sb) != FAIL && S_ISDIR(sb.st_mode))
return TRUE;
else
return FALSE;