From 3a5bc21392ffe319342ef2018fc8afdce926c049 Mon Sep 17 00:00:00 2001 From: Hesham Almatary Date: Mon, 11 Nov 2019 11:08:46 +0000 Subject: testsuite/dl02: Fix bug to correctly check the handle of the second object file --- testsuites/libtests/dl02/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/libtests/dl02/dl-load.c') 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 -- cgit v1.2.3