[haiku-commits] haiku: hrev48319 - headers/private/userlandfs/shared

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 17 Nov 2014 10:58:48 +0100 (CET)

hrev48319 adds 1 changeset to branch 'master'
old head: f0d46bd83cd4b50fc63fdff30bd71400a608aaed
new head: 5b1f411f575bbfcc0bc7e63b2598c32bbe99716c
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=5b1f411+%5Ef0d46bd

----------------------------------------------------------------------------

5b1f411: UserlandFS: 64-bit fix.

                                 [ Adrien Destugues <pulkomandy@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev48319
Commit:      5b1f411f575bbfcc0bc7e63b2598c32bbe99716c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=5b1f411
Author:      Adrien Destugues <pulkomandy@xxxxxxxxx>
Date:        Mon Nov 17 09:58:03 2014 UTC

----------------------------------------------------------------------------

1 file changed, 8 insertions(+), 3 deletions(-)
headers/private/userlandfs/shared/Debug.h | 11 ++++++++---

----------------------------------------------------------------------------

diff --git a/headers/private/userlandfs/shared/Debug.h 
b/headers/private/userlandfs/shared/Debug.h
index 9b7460b..547d628 100644
--- a/headers/private/userlandfs/shared/Debug.h
+++ b/headers/private/userlandfs/shared/Debug.h
@@ -91,9 +91,14 @@ void dbg_printf_end();
 #endif
 
 #define DEBUG_THREAD   find_thread(NULL)
-#define DEBUG_CONTEXT(x)       { dbg_printf_begin(); __out(DEBUG_APP " [%Ld: 
%5ld] ", system_time(), DEBUG_THREAD); x; dbg_printf_end(); }
-#define DEBUG_CONTEXT_FUNCTION(prefix, x)      { dbg_printf_begin(); 
__out(DEBUG_APP " [%Ld: %5ld] %s()" prefix, system_time(), DEBUG_THREAD, 
__FUNCTION__); x; dbg_printf_end(); }
-#define DEBUG_CONTEXT_LINE(x)  { dbg_printf_begin(); __out(DEBUG_APP " [%Ld: 
%5ld] %s():%d: ", system_time(), DEBUG_THREAD, __FUNCTION__, __LINE__); x; 
dbg_printf_end(); }
+#define DEBUG_CONTEXT(x)       { dbg_printf_begin(); __out(DEBUG_APP " [%" \
+       B_PRIdBIGTIME ": %5ld] ", system_time(), DEBUG_THREAD); x; 
dbg_printf_end(); }
+#define DEBUG_CONTEXT_FUNCTION(prefix, x)      { dbg_printf_begin(); \
+       __out(DEBUG_APP " [%" B_PRIdBIGTIME ": %5ld] %s()" prefix, 
system_time(), \
+       DEBUG_THREAD, __FUNCTION__); x; dbg_printf_end(); }
+#define DEBUG_CONTEXT_LINE(x)  { dbg_printf_begin(); __out(DEBUG_APP " [%" \
+       B_PRIdBIGTIME ": %5ld] %s():%d: ", system_time(), DEBUG_THREAD, \
+       __FUNCTION__, __LINE__); x; dbg_printf_end(); }
 
 #define TPRINT(x) DEBUG_CONTEXT( __out x )
 #define TREPORT_ERROR(status) DEBUG_CONTEXT_LINE( __out("%s\n", 
strerror(status)) )


Other related posts:

  • » [haiku-commits] haiku: hrev48319 - headers/private/userlandfs/shared - pulkomandy