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

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