Index: uspace/lib/drv/generic/logbuf.c
===================================================================
--- uspace/lib/drv/generic/logbuf.c	(revision 7c3fb9bd77e4d2f6c10517a052e567f176fa91ee)
+++ uspace/lib/drv/generic/logbuf.c	(revision a57fa325b051d5e952ced94f3f203b231c8f259a)
@@ -40,5 +40,6 @@
 #define REMAINDER_STR_FMT " (%zu)..."
 /** Expected max size of the remainder string.
- * String + terminator + number width (enough for 4GB).*/
+ * String + terminator + number width (enough for 4GB).
+ */
 #define REMAINDER_STR_LEN (5 + 1 + 10)
 
@@ -50,4 +51,9 @@
 /** Space between two groups. */
 #define SPACE_GROUP "  "
+
+/** Formats the dump with space before, takes care of type casting (ugly). */
+#define _FORMAT(digits, bits) \
+	snprintf(dump, dump_size, "%s%0" #digits PRIx##bits, \
+	    space_before, ((uint##bits##_t *)buf)[0]);
 
 /** Dump one item into given buffer.
@@ -77,9 +83,4 @@
 	buf += index * item_size;
 
-/* Formats the dump with space before, takes care of type casting (ugly). */
-#define _FORMAT(digits, bits) \
-	snprintf(dump, dump_size, "%s%0" #digits PRIx##bits, \
-	    space_before, ((uint##bits##_t *)buf)[0]);
-
 	switch (item_size) {
 	case 4:
@@ -90,5 +91,4 @@
 		return _FORMAT(2, 8);
 	}
-#undef _FORMAT
 }
 
