summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-09-05 16:20:15 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-09-05 16:20:15 +0000
commit5f8d88ddd6ea894a96e97387b0f69803bb2cc4f2 (patch)
treecab1a2f56b899c3a37f9da2df7491794eafb2c3d
parent513336871a4fad3ed56baa749146a15a9cec9de1 (diff)
Notes
-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 64d4001480a9..e26c61c9b063 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);
}