From e0dab9e48c36fe9465cab81fae6fd4e6bce2b406 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Vivek=20Das=C2=A0Mohapatra?= <vivek@collabora.co.uk>
Date: Thu, 18 May 2017 00:41:42 +0100
Subject: [PATCH] Tweak the debug categories of some more messages

---
 capsule/capsule-dlmopen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/capsule/capsule-dlmopen.c b/capsule/capsule-dlmopen.c
index 916fab154..036d3218e 100644
--- a/capsule/capsule-dlmopen.c
+++ b/capsule/capsule-dlmopen.c
@@ -596,7 +596,7 @@ _dso_iterate_sections (ldlibs_t *ldlibs, int idx)
     ldlibs->needed[idx].dso =
       elf_begin( ldlibs->needed[idx].fd, ELF_C_READ_MMAP, NULL );
 
-    LDLIB_DEBUG( ldlibs, DEBUG_CAPSULE,
+    LDLIB_DEBUG( ldlibs, DEBUG_ELF,
                  "%03d: fd:%d dso:%p ← %s",
                  idx,
                  ldlibs->needed[idx].fd,
@@ -642,7 +642,7 @@ _dso_iterate_sections (ldlibs_t *ldlibs, int idx)
                 {
                     if( strcmp( *x, next_dso ) == 0 )
                     {
-                        LDLIB_DEBUG( ldlibs, DEBUG_CAPSULE|DEBUG_SEARCH,
+                        LDLIB_DEBUG( ldlibs, DEBUG_SEARCH|DEBUG_ELF,
                                      "skipping %s / %s", next_dso, *x );
                         skip = 1;
                         break;
-- 
GitLab