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