Blame SOURCES/0015-Rename-log-to-log_warning.patch

50b851
From 60e6835ed01fd9dce9704aeb286157f920e301cb Mon Sep 17 00:00:00 2001
50b851
From: Matej Habrnal <mhabrnal@redhat.com>
50b851
Date: Thu, 24 Aug 2017 10:57:31 +0200
50b851
Subject: [PATCH] Rename log() to log_warning()
50b851
50b851
Reanming log() function for logging in libreport because
50b851
of confilict with log() function from math.h.
50b851
---
50b851
 utils/abrt-action-analyze-java.c | 2 +-
50b851
 1 file changed, 1 insertion(+), 1 deletion(-)
50b851
50b851
diff --git a/utils/abrt-action-analyze-java.c b/utils/abrt-action-analyze-java.c
50b851
index 285da8f..fdd4d51 100644
50b851
--- a/utils/abrt-action-analyze-java.c
50b851
+++ b/utils/abrt-action-analyze-java.c
50b851
@@ -335,7 +335,7 @@ int main(int argc, char *argv[])
50b851
     {
50b851
         hash_str = sr_thread_get_duphash(crash_thread, FRAMES_FOR_DUPHASH,
50b851
                 /*noprefix*/NULL, SR_DUPHASH_NOHASH);
50b851
-        log("Generating duphash from string: '%s'", hash_str);
50b851
+        log_warning("Generating duphash from string: '%s'", hash_str);
50b851
         free(hash_str);
50b851
     }
50b851
 
50b851
-- 
50b851
2.13.3
50b851