Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2007 01:43:41 GMT
From:      Fredrik Lindberg <fli@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 123575 for review
Message-ID:  <200707160143.l6G1hfJZ092549@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123575

Change 123575 by fli@fli_nexus on 2007/07/16 01:43:17

	- Give the object allocator an debug output mask
	- Fix hexdumping code (again)

Affected files ...

.. //depot/projects/soc2007/fli-mdns_sd/mdnsd/debug.h#3 edit

Differences ...

==== //depot/projects/soc2007/fli-mdns_sd/mdnsd/debug.h#3 (text+ko) ====

@@ -44,6 +44,7 @@
 #define DEBUG_CFGPARSE	0x0400
 #define DEBUG_VAR		0x0800
 #define DEBUG_MISC		0x1000
+#define DEBUG_OA		0x2000
 
 /*
  * Structure initialization protection
@@ -63,10 +64,10 @@
 #endif
 
 #ifdef DEBUG
-# define HEXDUMP(__buf, _len) do { \
+# define HEXDUMP(_buf, _len) do { \
   { \
         size_t __tmp; \
-        char *__buf = (char *)__buf; \
+        char *__buf = (char *)_buf; \
         for (__tmp = 0; __tmp < _len; __tmp++) \
                 printf("%.2x ", *__buf++); \
     printf("\n"); \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707160143.l6G1hfJZ092549>