summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2009-12-30 04:30:01 +0000
committerdrahn <drahn@openbsd.org>2009-12-30 04:30:01 +0000
commita6eccdcd471e776d30e4c9a7fffe77eef2cc39a5 (patch)
tree6783d77b2c83a748a762486a00d17dc2fbc1d7b6
parentremove dead assignments and newly created unused variables. (diff)
downloadwireguard-openbsd-a6eccdcd471e776d30e4c9a7fffe77eef2cc39a5.tar.xz
wireguard-openbsd-a6eccdcd471e776d30e4c9a7fffe77eef2cc39a5.zip
Remove paths from the prebind code that shouldn't be present.
-rw-r--r--libexec/ld.so/ldconfig/library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/ldconfig/library.c b/libexec/ld.so/ldconfig/library.c
index 73745fd50b4..07b5a70d505 100644
--- a/libexec/ld.so/ldconfig/library.c
+++ b/libexec/ld.so/ldconfig/library.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library.c,v 1.2 2006/05/13 16:33:40 deraadt Exp $ */
+/* $OpenBSD: library.c,v 1.3 2009/12/30 04:30:01 drahn Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
*
@@ -35,7 +35,7 @@
#include "prebind_struct.h"
/* TODO - library path from ldconfig */
-#define DEFAULT_PATH "/usr/lib:/usr/X11R6/lib:/usr/local/qte/lib"
+#define DEFAULT_PATH "/usr/lib"
elf_object_t * elf_load_shlib_hint(struct sod *sod, struct sod *req_sod,
int ignore_hints, const char *libpath);