summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-11-11 11:08:46 +0000
committerHesham Almatary <Hesham.Almatary@cl.cam.ac.uk>2019-11-12 10:21:53 +0000
commit3a5bc21392ffe319342ef2018fc8afdce926c049 (patch)
treeb15a3bbbc9eef60240791988592627db2a5ec12f
parenta4c5da686d5dcb290f8d5a1dce7c6cb14fc25d1e (diff)
testsuite/dl02: Fix bug to correctly check the handle of the second object file
-rw-r--r--testsuites/libtests/dl02/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/dl02/dl-load.c b/testsuites/libtests/dl02/dl-load.c
index 2e76c2dea6..b7a5fc54d4 100644
--- a/testsuites/libtests/dl02/dl-load.c
+++ b/testsuites/libtests/dl02/dl-load.c
@@ -69,7 +69,7 @@ int dl_load_test(void)
if (!o1)
return 1;
o2 = dl_load_obj("/dl02-o2.o");
- if (!o1)
+ if (!o2)
return 1;
#if DL_RTL_CMDS