---
 testsuites/libtests/dl02/dl-load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.17.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to