[PATCH spice-common] mem: Fix compile error if alignment-checks option is used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Domain name argument to spice_log was removed time ago.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 common/mem.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/mem.c b/common/mem.c
index 8779282..ff11e5e 100644
--- a/common/mem.c
+++ b/common/mem.c
@@ -300,7 +300,7 @@ void spice_alignment_warning(const char *loc, void *p, unsigned sz)
     static const char *last_loc = NULL;
     if (loc != last_loc) {
         last_loc = loc;
-        spice_log(SPICE_LOG_DOMAIN, G_LOG_LEVEL_WARNING, loc, __FUNCTION__,
+        spice_log(G_LOG_LEVEL_WARNING, loc, __FUNCTION__,
                   "Misaligned access at %p, alignment %u", p, sz);
     }
 }
@@ -310,7 +310,7 @@ void spice_alignment_debug(const char *loc, void *p, unsigned sz)
     static const char *last_loc = NULL;
     if (loc != last_loc) {
         last_loc = loc;
-        spice_log(SPICE_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, loc, __FUNCTION__,
+        spice_log(G_LOG_LEVEL_DEBUG, loc, __FUNCTION__,
                   "Expected misaligned access at %p, alignment %u", p, sz);
     }
 }
-- 
2.20.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]