From d4773575b3ee174732be69697f1ff9dbc9f32714 Mon Sep 17 00:00:00 2001 From: skrll Date: Fri, 1 Aug 2003 07:04:31 +0000 Subject: [PATCH] s/DL_LAZY/RTLD_LAZY/ --- regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c | 4 ++-- regress/usr.bin/rtld/dlerror-false/dlerror-false.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c b/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c index 2e4b5b2d0361..b61bf31bf775 100644 --- a/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c +++ b/regress/usr.bin/rtld/dlerror-cleared/dlerror-cleared.c @@ -11,8 +11,8 @@ int main(void) * Test that an error set by dlopen() persists past a successful * dlopen() call. */ - handle = dlopen("libnonexistent.so", DL_LAZY); - handle = dlopen("libm.so", DL_LAZY); + handle = dlopen("libnonexistent.so", RTLD_LAZY); + handle = dlopen("libm.so", RTLD_LAZY); error = dlerror(); if (error == NULL) errx(1, "Failed: dlerror() was cleared by successful dlopen()\n"); diff --git a/regress/usr.bin/rtld/dlerror-false/dlerror-false.c b/regress/usr.bin/rtld/dlerror-false/dlerror-false.c index e2f57f02e7d4..41a7acb7b6b1 100644 --- a/regress/usr.bin/rtld/dlerror-false/dlerror-false.c +++ b/regress/usr.bin/rtld/dlerror-false/dlerror-false.c @@ -13,7 +13,7 @@ int main(void) * include libm.so. */ - handle = dlopen("libm.so", DL_LAZY); + handle = dlopen("libm.so", RTLD_LAZY); error = dlerror(); if (error != NULL) errx(1, "Error opening libm.so: %s", error);