summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sod.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2002-05-25 02:46:10 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2002-05-25 02:46:10 +0000
commitb7222f5e3c22d9abc11068538a143310028dfaf4 (patch)
tree0665c06fe3a3b367b394d664e600290dbbef7c34 /libexec/ld.so/sod.c
parent9ebd66ff51576a046007140b1858f618470d427c (diff)
use _dl_strncmp() not strncmp(), _dl version is already present and used.
Diffstat (limited to 'libexec/ld.so/sod.c')
-rw-r--r--libexec/ld.so/sod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/sod.c b/libexec/ld.so/sod.c
index 5eca2fa60ec..f41a61f79d3 100644
--- a/libexec/ld.so/sod.c
+++ b/libexec/ld.so/sod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sod.c,v 1.11 2002/05/25 02:34:45 drahn Exp $ */
+/* $OpenBSD: sod.c,v 1.12 2002/05/25 02:46:09 drahn Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@@ -230,7 +230,7 @@ _dl_findhint(name, major, minor, prefered_path)
if (bp->hi_major == major &&
(bp->hi_ndewey < 2 || bp->hi_minor >= minor)) {
if (prefered_path == NULL ||
- strncmp(prefered_path,
+ _dl_strncmp(prefered_path,
hstrtab + bp->hi_pathx,
_dl_strlen(prefered_path)) == 0)
return hstrtab + bp->hi_pathx;