Index: /trunk/mem.c
===================================================================
--- /trunk/mem.c	(revision 305)
+++ /trunk/mem.c	(revision 306)
@@ -13,4 +13,5 @@
 #include "xc_shm.h"
 #include "align.h"
+#include "utils.h"
 
 #ifdef TEST
@@ -99,5 +100,5 @@
 		p = NULL;
 		if (mem->avail < realsize) {
-			TRACE(" oom");
+			TRACE("%s", " oom");
 			break;
 		}
@@ -128,5 +129,5 @@
 
 		if (b == NULL) {
-			TRACE(" no fit chunk");
+			TRACE("%s", " no fit chunk");
 			break;
 		}
@@ -206,5 +207,5 @@
 		b->next = cur->next;
 		cur = b;
-		TRACE(" combine prev");
+		TRACE("%s", " combine prev");
 	}
 
@@ -214,5 +215,5 @@
 		cur->size += b->size;
 		cur->next = b->next;
-		TRACE(" combine next");
+		TRACE("%s", " combine next");
 	}
 	TRACE(" -> avail %d (%dKB)", mem->avail, mem->avail / 1024);
