summaryrefslogtreecommitdiffstats
path: root/sbin/ldconfig/ldconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ldconfig/ldconfig.c')
-rw-r--r--sbin/ldconfig/ldconfig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c
index 64d4001..e26c61c 100644
--- a/sbin/ldconfig/ldconfig.c
+++ b/sbin/ldconfig/ldconfig.c
@@ -30,7 +30,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: ldconfig.c,v 1.24 1998/08/02 16:06:33 bde Exp $";
+ "$Id: ldconfig.c,v 1.25 1998/09/05 03:30:54 jdp Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -359,6 +359,8 @@ int silent;
bzero((caddr_t)dewey, sizeof(dewey));
ndewey = getdewey(dewey, cp + 4);
+ if (ndewey < 2)
+ continue;
enter(dir, dp->d_name, name, dewey, ndewey);
}
OpenPOWER on IntegriCloud